summaryrefslogtreecommitdiff
path: root/byteback-snapshot
diff options
context:
space:
mode:
authorJames Hannah <james.hannah@bytemark.co.uk>2014-07-02 10:59:07 +0100
committerJames Hannah <james.hannah@bytemark.co.uk>2014-07-02 10:59:07 +0100
commit4ce8b13d4e900698e30b797780fe7a971db57df5 (patch)
treecd9d376f6b9ac57c0e24bf90dafb8a75b2744d96 /byteback-snapshot
parent22219479aff2cc0c6443ee2581d76d27744f6653 (diff)
Fixed an issue with byteback-snapshot
Diffstat (limited to 'byteback-snapshot')
-rwxr-xr-xbyteback-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/byteback-snapshot b/byteback-snapshot
index 37fae68..8ea6035 100755
--- a/byteback-snapshot
+++ b/byteback-snapshot
@@ -150,7 +150,7 @@ class BackupDirectory
protected
def system_no_error(*args)
- args += " > /dev/null" unless @verbose
+ args[-1] += " > /dev/null" unless @verbose
raise RuntimeError.new("Command failed: "+args.join(" ")) unless
system(*args)
end