summaryrefslogtreecommitdiff
path: root/bin/byteback-setup-client-receive
diff options
context:
space:
mode:
authorChris Elsworth <chris.elsworth@bytemark.co.uk>2017-01-31 11:47:52 +0000
committerChris Elsworth <chris.elsworth@bytemark.co.uk>2017-01-31 11:47:52 +0000
commit9703376afbebf06711bf5d1e874a59f806afd0f2 (patch)
tree896f657ab4edefa34d0e5661709b91ae6da7ee71 /bin/byteback-setup-client-receive
parent1943b5a11ed6615816bd476d16f2f319edfc772d (diff)
parent51ff72f7b458909071c4a42dbd25ab28ac16f3f8 (diff)
Merge branch '12-fix-btrfs-path' into 'master'
"byteback-server fails to work with backported btrfs-{tools progs}" Closes #12 See merge request !4
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')