From 1c4d52b81baf3774ceab802899f8dcfde68e1ad2 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Thu, 5 Jun 2014 11:36:42 +0100 Subject: Pipe output to /dev/null unless $VERBOSE --- byteback-snapshot | 1 + 1 file changed, 1 insertion(+) (limited to 'byteback-snapshot') diff --git a/byteback-snapshot b/byteback-snapshot index 0e5a362..37fae68 100755 --- a/byteback-snapshot +++ b/byteback-snapshot @@ -150,6 +150,7 @@ class BackupDirectory protected def system_no_error(*args) + args += " > /dev/null" unless @verbose raise RuntimeError.new("Command failed: "+args.join(" ")) unless system(*args) end -- cgit v1.2.3