summaryrefslogtreecommitdiff
path: root/lib/byteback/backup_directory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/byteback/backup_directory.rb')
-rw-r--r--lib/byteback/backup_directory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/byteback/backup_directory.rb b/lib/byteback/backup_directory.rb
index 01871d3..37b8112 100644
--- a/lib/byteback/backup_directory.rb
+++ b/lib/byteback/backup_directory.rb
@@ -120,7 +120,7 @@ module Byteback
end
def delete!
- system_no_error("#{btrfs_bin} subvolume delete #{path}")
+ system_no_error("#{btrfs_bin} subvolume delete --commit-after #{path}")
end
# Returns the size of the given snapshot (runs du, may be slow)