]> git.nbdom.net Git - nb.git/commitdiff
dbq bug fix verbose
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 1 Sep 2016 22:07:53 +0000 (23:07 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 1 Sep 2016 22:07:53 +0000 (23:07 +0100)
bin/dbq

diff --git a/bin/dbq b/bin/dbq
index db78c7e5335ba9076cb96b0f9bdf4bae54a84af5..cd1e71872f442e7221e705c8dceb03e50ce2264d 100755 (executable)
--- a/bin/dbq
+++ b/bin/dbq
@@ -140,7 +140,7 @@ for my $o (@CURL_OPT) {
 #
 my %keys = ();
 my @cmd = ();
-push (@cmd,$_) if ($_ = '-'.'v'x($VERBOSE-1) ) ne '-';
+push (@cmd,$_) if $VERBOSE and ($_ = '-'.'v'x($VERBOSE-1) ) ne '-';
 while ($_ = shift @ARGV) {
 
   if (/^([\w\._:-]+)=(.*)$/) {