diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2016-11-09 09:30:12 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2016-11-09 09:37:37 +0000 |
commit | 25f3947c16b57a9686500534e44423aab90b0bc7 (patch) | |
tree | f4c506e8f1e92db72c37b7c0794899d7bf4acb52 /bin/byteback-restore | |
parent | ed5ed3688a035f0caaea5a4fd3915e18a3576d78 (diff) |
First pass at fixing btrfs path
This replaces the call to /sbin/btrfs with a method to find a btrfs
program, which raises ENOENT if one cannot be found.
Diffstat (limited to 'bin/byteback-restore')
-rwxr-xr-x | bin/byteback-restore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/byteback-restore b/bin/byteback-restore index 94babf8..2cd54c5 100755 --- a/bin/byteback-restore +++ b/bin/byteback-restore @@ -81,7 +81,7 @@ def restore_files(paths, snapshot, all) end args << "." - puts args.join(" " ) if @verbose + puts args.join(" ") if @verbose system(*args) end |