--- mcore-src/trunk/mcore-tools/src/mcore-controld.in 2015/09/10 08:32:31 2478 +++ mcore-src/trunk/mcore-tools/src/mcore-controld.in 2015/09/10 08:48:45 2479 @@ -29,10 +29,11 @@ SQL_HOST=localhost SQL_DB=alx_web +# 0=false, 1=true DEBUG=1 -NOCOLORS="false" -WEBCRLF="false" -QUIET="false" +NOCOLORS=0 +WEBCRLF=0 +QUIET=0 # argvs are global variables - this fixes issues with whitespaces # global argvs, the whole command line @@ -69,10 +70,10 @@ reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; restart) valid_session && restart_service ;; stop) valid_session && stop_service ;; - nocolors) export NOCOLORS="true" ;; - colors) export NOCOLORS="false" ;; - webcrlf) export WEBCRLF="true" ;; - quiet) export QUIET="true" ;; + nocolors) export NOCOLORS=1 ;; + colors) export NOCOLORS=0 ;; + webcrlf) export WEBCRLF=1 ;; + quiet) export QUIET=1 ;; # version does not need auth version) print_version ;; help)