mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-23 07:59:28 -04:00
transaction: Fix error reportin in case an update fails
This commit is contained in:
1 parent
9a45517536
commit
daa2d79fd1
1 file changed
+1
-2
@@ -486,7 +486,6 @@ flatpak_transaction_run (FlatpakTransaction *self,
|
||||
{
|
||||
opname = _("install");
|
||||
g_print (_("Installing: %s from %s\n"), pref, op->remote);
|
||||
res = TRUE;
|
||||
res = flatpak_dir_install (self->dir,
|
||||
self->no_pull,
|
||||
self->no_deploy,
|
||||
@@ -544,7 +543,7 @@ flatpak_transaction_run (FlatpakTransaction *self,
|
||||
}
|
||||
else
|
||||
{
|
||||
g_propagate_error (error, local_error);
|
||||
g_propagate_error (error, g_steal_pointer (&local_error));
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user