diff options
author | Andrew Cady <d@jerkface.net> | 2019-10-04 00:14:18 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-10-04 00:14:18 -0400 |
commit | 5fe5fe7b394e119501e05c7e6ab18f4df02320b2 (patch) | |
tree | 94e7081e2e183d490c801e3f683d2fa413ddb2dc | |
parent | 882d8f88513f5f6856e53aeadec2f1276c42920a (diff) |
hide spurious error
-rw-r--r-- | fsmgr.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ buildRoot config@DiskImageConfig{..} finalOut = do | |||
77 | {- 5. create a backup snapshot -} | 77 | {- 5. create a backup snapshot -} |
78 | cmd_ "umount" [mountpoint] | 78 | cmd_ "umount" [mountpoint] |
79 | cmd_ "mount -t btrfs -o subvol=/" [out, mountpoint] | 79 | cmd_ "mount -t btrfs -o subvol=/" [out, mountpoint] |
80 | ignoreErrors $ cmd_ "btrfs subvolume delete" [mountpoint </> "root~orig"] | 80 | ignoreErrors $ cmd_ (EchoStderr False) "btrfs subvolume delete" [mountpoint </> "root~orig"] |
81 | cmd_ "btrfs subvolume snapshot -r" [mountpoint </> "root", mountpoint </> "root~orig"] | 81 | cmd_ "btrfs subvolume snapshot -r" [mountpoint </> "root", mountpoint </> "root~orig"] |
82 | 82 | ||
83 | -- cleanup | 83 | -- cleanup |