summaryrefslogtreecommitdiff
path: root/bin/byteback-setup-client-receive
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2017-01-31 11:12:14 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2017-01-31 11:12:14 +0000
commit38c89a9e32a67f96b40d756a5c356f8c31247ab9 (patch)
tree88fbff9457a32abd5f72d89481bf3a52a0471f75 /bin/byteback-setup-client-receive
parent566c4c39e58e001015d263df124ea88d06ba5940 (diff)
parentb310c2f150a4802d63d492cfe3dfae650ebbc41e (diff)
Merge branch '12-fix-btrfs-path' into rubocop
Diffstat (limited to 'bin/byteback-setup-client-receive')
-rwxr-xr-xbin/byteback-setup-client-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/byteback-setup-client-receive b/bin/byteback-setup-client-receive
index 3673b6a..528ccc9 100755
--- a/bin/byteback-setup-client-receive
+++ b/bin/byteback-setup-client-receive
@@ -32,7 +32,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("/sbin/btrfs subvolume create #{@hostname}/current")
+ system("#{btrfs_bin} subvolume create #{@hostname}/current")
FileUtils.mkdir_p('.ssh')