upgrade: Honor pull flags

A user noticed --allow-downgrade wasn't actually working.
This commit is contained in:
Colin Walters 2014-10-17 13:42:25 -04:00
parent 3c26cbc17f
commit 850ad5ae6b

View File

@ -106,7 +106,7 @@ rpmostree_builtin_upgrade (int argc,
else else
{ {
if (!ostree_sysroot_upgrader_pull (upgrader, 0, 0, progress, &changed, if (!ostree_sysroot_upgrader_pull (upgrader, 0, upgraderpullflags, progress, &changed,
cancellable, error)) cancellable, error))
goto out; goto out;
} }