diff --git a/inc/status.inc b/inc/status.inc index a58f4dee..ba511f83 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -3,7 +3,7 @@ STATUS(){ start=$(date +%s) log_start=$(date "+%Y-%m-%d %H:%M:%S") - if [ "${1}" == "report" ]; then + if [ "${1}" == "report" ] || [ "${1}" == "" ]; then ST_ACTION=${1} ntypesel=(${NM_NODE_TYPES[@]}) # if [ "${NM_NODETYPES[${ST_ACTION^^}]}" != "" ]; then