summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorccottam <chris.cottam@bytemark.co.uk>2018-04-03 12:58:50 +0100
committerccottam <chris.cottam@bytemark.co.uk>2018-04-03 12:58:50 +0100
commit9603062b66da3af29c1ec6d764b7101e69c5dd2d (patch)
tree4552398f5125edf55675d28127dbb8985b9064da /bin
parent6bba9094a73bb96e331c8f2d93604e6093aa4046 (diff)
adding the --commit-after flag to the snapshot removal
Diffstat (limited to 'bin')
-rwxr-xr-xbin/byteback-prune2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/byteback-prune b/bin/byteback-prune
index a0cd0fb..da0b72c 100755
--- a/bin/byteback-prune
+++ b/bin/byteback-prune
@@ -147,4 +147,4 @@ if snapshots.empty?
end
info("Deleting #{snapshots.last.path}")
-log_system("#{btrfs_bin} subvolume delete #{snapshots.last.path}")
+log_system("#{btrfs_bin} subvolume delete --commit-after #{snapshots.last.path}")