Test --verbose. Remove global default OPT_VERBOSE from log_warn_die.sh so tool's option can set it.

This commit is contained in:
Daniel Nichter
2013-01-24 11:13:39 -07:00
parent 11fa16382c
commit b196f50e60
6 changed files with 162 additions and 35 deletions

View File

@@ -27,7 +27,6 @@ set -u
PTFUNCNAME=""
PTDEBUG="${PTDEBUG:-""}"
EXIT_STATUS=0
OPT_VERBOSE=${OPT_VERBOSE:-3}
ts() {
TS=$(date +%F-%T | tr ':-' '_')