]> piware.de Git - bin.git/commitdiff
system-maintenance: Get along with nonexistent OSTree rollbacks
authorMartin Pitt <martin@piware.de>
Tue, 1 Sep 2020 04:44:46 +0000 (06:44 +0200)
committerMartin Pitt <martin@piware.de>
Tue, 1 Sep 2020 04:44:46 +0000 (06:44 +0200)
They may have been removed before already.

system-maintenance

index ad148ef1162d801541d44f5ddc48f39593a0d7e9..7ec31bf04961b8a04ec0b3be6795e61103b0be8f 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -eux
 
-rpm-ostree cleanup --rollback
+rpm-ostree cleanup --rollback || true
 rpm-ostree cleanup --repomd
 rpm-ostree cleanup --base