summaryrefslogtreecommitdiff
path: root/byteback-setup-client-receive
diff options
context:
space:
mode:
authorMatthew Bloch <matthew@bytemark.co.uk>2014-12-04 18:39:47 +0000
committerMatthew Bloch <matthew@bytemark.co.uk>2014-12-04 18:39:47 +0000
commit54849eb03280b7c859905b3ca190fce3b931e631 (patch)
treefb9b308b6fe9e7b1887f47bd70fe9b963f5af146 /byteback-setup-client-receive
parentfcf00ad61a60c9e99a7d45380803f0dbf0b858f5 (diff)
Replaced pathless btrfs invocation with /sbin/btrfs (as we're no longer root).
Diffstat (limited to 'byteback-setup-client-receive')
-rwxr-xr-xbyteback-setup-client-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/byteback-setup-client-receive b/byteback-setup-client-receive
index 72e5471..0dc850f 100755
--- a/byteback-setup-client-receive
+++ b/byteback-setup-client-receive
@@ -30,7 +30,7 @@ Dir.chdir(ENV['HOME']) # don't know why we wouldn't be here
FileUtils.mkdir_p(@hostname)
error("Couldn't create btrfs subvolume") unless
- system("btrfs subvolume create #{@hostname}/current")
+ system("/sbin/btrfs subvolume create #{@hostname}/current")
FileUtils.mkdir_p(".ssh")