rc: suppress message of service not enabled

This commit is contained in:
Franco Fichtner 2018-06-20 15:47:40 +02:00
parent 4e75cfdf51
commit faaafb136c

View File

@ -5,7 +5,7 @@ BACKUPDIR="/var/netflow"
# find out if the service is running and stop/start it only if needed
RCSCRIPT="/usr/local/etc/rc.d/flowd_aggregate"
if ! ${RCSCRIPT} status; then
if ! ${RCSCRIPT} status > /dev/null; then
RCSCRIPT="true"
fi