From 4ce8b13d4e900698e30b797780fe7a971db57df5 Mon Sep 17 00:00:00 2001 From: James Hannah Date: Wed, 2 Jul 2014 10:59:07 +0100 Subject: Fixed an issue with byteback-snapshot --- byteback-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'byteback-snapshot') 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 -- cgit v1.2.1