# LOGLEVEL="1" --> Prevents all messages, expect panic messages, from
# appearing on the console.
# LOGLEVEL="8" --> Allow all messages to appear on the console.
-LOGLEVEL="4"
+LOGLEVEL="3"
# Timezone
export TZ="America/Montreal"
if [ ${?} -ne 0 ]; then
sleep 2
- if statusproc ${base} | grep "not running" 1> /dev/null 2>&1; then
+ if statusproc ${base} | grep -q "not running"; then
return ${EXIT_CODE_FAILURE}
fi
fi