Project

General

Profile

« Previous | Next » 

Revision 13210

lib/sh/util.sh: verbosity_compat(): log at higher log_level because it's logging code

View differences:

trunk/lib/sh/util.sh
523 523

  
524 524
# usage: (verbosity_compat; cmd)
525 525
function verbosity_compat()
526
{ echo_func; if ((verbosity == 1)); then unset verbosity; fi; }
526
{ log_local; log++; echo_func; if ((verbosity == 1)); then unset verbosity; fi;}
527 527
alias verbosity_compat='declare verbosity="$verbosity"; "verbosity_compat"'
528 528

  
529 529

  

Also available in: Unified diff