Fix: Missing return value check in extract_trace_recursive()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 25 Mar 2015 22:29:29 +0000 (18:29 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 26 Mar 2015 22:07:46 +0000 (18:07 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-crash/lttng-crash.c

index f34e618949efdbfe116a5785068e9a602f41bae5..f50b0f86b26abf709a9e8047133312599084ecf5 100644 (file)
@@ -1001,6 +1001,9 @@ int extract_trace_recursive(const char *output_path,
 
                        ret = extract_trace_recursive(output_subpath,
                                input_subpath);
+                       if (ret) {
+                               has_warning = 1;
+                       }
                        break;
                }
                case DT_REG:
This page took 0.026278 seconds and 4 git commands to generate.