mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-21 06:08:06 -05: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:
@@ -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