mirror of
https://github.com/flatpak/flatpak.git
synced 2026-09-30 17:43:26 -04:00
builder: Report errors if eu_strip fails
This was ignoring errors and causing "set-on-top-of-existing-GError" messages.
This commit is contained in:
1 parent
be4b6b8013
commit
faecde5da5
1 file changed
+5
-4
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user