summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/byteback/backup_directory.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/byteback/backup_directory.rb b/lib/byteback/backup_directory.rb
index fc11840..6404cd8 100644
--- a/lib/byteback/backup_directory.rb
+++ b/lib/byteback/backup_directory.rb
@@ -53,11 +53,11 @@ module Byteback
end
def create!(from)
- system_no_error("btrfs subvolume snapshot #{from} #{path}")
+ system_no_error("/sbin/btrfs subvolume snapshot #{from} #{path}")
end
def delete!
- system_no_error("btrfs subvolume delete #{path}")
+ system_no_error("/sbin/btrfs subvolume delete #{path}")
end
# Returns the size of the given snapshot (runs du, may be slow)