From: Jérémie Galarneau Date: Wed, 25 Mar 2015 22:29:29 +0000 (-0400) Subject: Fix: Missing return value check in extract_trace_recursive() X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=29786dfa05a2c732917260a34c63fe93326c31bb;p=lttng-tools.git Fix: Missing return value check in extract_trace_recursive() Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-crash/lttng-crash.c b/src/bin/lttng-crash/lttng-crash.c index f34e61894..f50b0f86b 100644 --- a/src/bin/lttng-crash/lttng-crash.c +++ b/src/bin/lttng-crash/lttng-crash.c @@ -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: