dir: Return FALSE when setting an error

This is expected behavior.

(cherry picked from commit e9f2d11f4a)
This commit is contained in:
Matthias Clasen
2018-10-08 08:51:52 -04:00
committed by Alexander Larsson
parent af7e3f02aa
commit f539213a34

View File

@@ -8289,6 +8289,7 @@ flatpak_dir_uninstall (FlatpakDir *self,
{
g_set_error (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED,
_("%s branch %s is not installed"), name, parts[3]);
return FALSE;
}
return TRUE;