Implement $SW_LOGGERTAG

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2016-04-15 14:29:51 -07:00
parent 549af8b402
commit 524838ae47
6 changed files with 33 additions and 17 deletions

View File

@@ -548,7 +548,7 @@ start_command() {
[ -n "$nolock" ] || mutex_off
else
rc=$?
logger -p kern.err "ERROR:$g_product start failed"
mylogger kern.err "ERROR:$g_product start failed"
fi
fi
@@ -1028,7 +1028,7 @@ restart_command() {
[ -n "$nolock" ] || mutex_off
else
rc=$?
logger -p kern.err "ERROR:$g_product ${COMMAND} failed"
mylogger kern.err "ERROR:$g_product ${COMMAND} failed"
fi
else
[ -x ${VARDIR}/firewall ] || fatal_error "No ${VARDIR}/firewall file found"