From 54849eb03280b7c859905b3ca190fce3b931e631 Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Thu, 4 Dec 2014 18:39:47 +0000 Subject: Replaced pathless btrfs invocation with /sbin/btrfs (as we're no longer root). --- lib/byteback/backup_directory.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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) -- cgit v1.2.1