summaryrefslogtreecommitdiff
path: root/byteback-snapshot
diff options
context:
space:
mode:
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