summaryrefslogtreecommitdiff
path: root/builder
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-02-16 14:45:23 +0100
committerAlexander Larsson <alexl@redhat.com>2016-02-16 14:45:23 +0100
commitfaecde5da5ddabb61da105bc58a3f09c00660cc2 (patch)
treee9cd1281fc5c63a4c983a74f9c7cef288714cfd4 /builder
parentbe4b6b80139c798710a515fd827d8c56a1699283 (diff)
downloadxdg-app-faecde5da5ddabb61da105bc58a3f09c00660cc2.tar.gz
builder: Report errors if eu_strip fails
This was ignoring errors and causing "set-on-top-of-existing-GError" messages.
Diffstat (limited to 'builder')
-rw-r--r--builder/builder-module.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/builder/builder-module.c b/builder/builder-module.c
index c92b14d..990ca9e 100644
--- a/builder/builder-module.c
+++ b/builder/builder-module.c
@@ -724,10 +724,11 @@ builder_module_handle_debuginfo (BuilderModule *self,
real_debug_path = g_build_filename (real_debug_dir, filename_debug, NULL);
g_print ("stripping %s to %s\n", path, debug_path);
- eu_strip (error, "--remove-comment", "--reloc-debug-sections",
- "-f", debug_path,
- "-F", real_debug_path,
- path, NULL);
+ if (!eu_strip (error, "--remove-comment", "--reloc-debug-sections",
+ "-f", debug_path,
+ "-F", real_debug_path,
+ path, NULL))
+ return FALSE;
}
}
}