diff --git a/dom0/qvm-tools/qubes-dom0-update b/dom0/qvm-tools/qubes-dom0-update index 6a31ad22..e7f1b953 100755 --- a/dom0/qvm-tools/qubes-dom0-update +++ b/dom0/qvm-tools/qubes-dom0-update @@ -99,7 +99,7 @@ elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then yum $YUM_OPTS update fi fi - yum -q check-updates && rm $UPDATES_STAT_FILE + yum -q check-update && rm -f $UPDATES_STAT_FILE else echo "No updates avaliable" >&2 fi