From 5fe5fe7b394e119501e05c7e6ab18f4df02320b2 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Fri, 4 Oct 2019 00:14:18 -0400 Subject: hide spurious error --- fsmgr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsmgr.hs b/fsmgr.hs index 212f76b..884ca22 100644 --- a/fsmgr.hs +++ b/fsmgr.hs @@ -77,7 +77,7 @@ buildRoot config@DiskImageConfig{..} finalOut = do {- 5. create a backup snapshot -} cmd_ "umount" [mountpoint] cmd_ "mount -t btrfs -o subvol=/" [out, mountpoint] - ignoreErrors $ cmd_ "btrfs subvolume delete" [mountpoint "root~orig"] + ignoreErrors $ cmd_ (EchoStderr False) "btrfs subvolume delete" [mountpoint "root~orig"] cmd_ "btrfs subvolume snapshot -r" [mountpoint "root", mountpoint "root~orig"] -- cleanup -- cgit v1.2.3