mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-06 21:12:44 -04:00
installation: Ensure error is set on failure in get_min_free_space_bytes
This commit is contained in:
1 parent
37fe50fc9c
commit
e37e201f3d
1 file changed
+1
-1
@@ -1608,7 +1608,7 @@ flatpak_installation_get_min_free_space_bytes (FlatpakInstallation *self,
|
||||
g_autoptr(FlatpakDir) dir = NULL;
|
||||
g_autoptr(FlatpakDir) dir_clone = NULL;
|
||||
|
||||
dir = flatpak_installation_get_dir (self, NULL);
|
||||
dir = flatpak_installation_get_dir (self, error);
|
||||
if (dir == NULL)
|
||||
return FALSE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user