lib: Fix update checking

There was a typo in 44cf5076
tingping/wmclass
Alexander Larsson 2017-05-22 15:28:53 +02:00
parent dbf52de6fd
commit e47a726061
1 changed files with 1 additions and 1 deletions

View File

@ -1377,7 +1377,7 @@ flatpak_installation_update_full (FlatpakInstallation *self,
(const char **)subpaths,
(flags & FLATPAK_UPDATE_FLAGS_NO_PULL) != 0,
cancellable, error);
if (target_commit != NULL)
if (target_commit == NULL)
return NULL;
/* Pull, prune, etc are not threadsafe, so we work on a copy */