summaryrefslogtreecommitdiff
path: root/byteback-snapshot
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2014-07-02 13:37:23 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2014-07-02 13:37:23 +0100
commite56694821380961aec0e55258ac343320f5050a3 (patch)
tree87b4a474ee55bcadf76467166ae4efd2d9f31c32 /byteback-snapshot
parent1b0f1e1fcd32df9f475307a86ad79460d983e58c (diff)
parent4ce8b13d4e900698e30b797780fe7a971db57df5 (diff)
Merge branch 'master' of ssh://dev/home/git/byteback
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 5a7b8e8..1960085 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