Commit a2ad1369 authored by Jean-Claude BAU's avatar Jean-Claude BAU

Update script check_incoming_leap_second.sh

The update is related to the new feature introduced in Kconfig for the
logging of messages (default_syslog)
parent d61ae7bc
......@@ -25,7 +25,11 @@ if echo "$WRS_LOG" | grep / > /dev/null; then
eval LOGPIPE=\" \> $WRS_LOG 2\>\&1 \";
else
# not a pathname: use verbatim
eval LOGPIPE=\" 2\>\&1 \| logger -t $pBaseName -p $WRS_LOG\"
if "$WRS_LOG" = "default_syslog"; then
eval LOGPIPE=\" 2\>\&1 \| logger -t $pBaseName --prio-prefix\"
else
eval LOGPIPE=\" 2\>\&1 \| logger -t $pBaseName -p $WRS_LOG\"
fi
fi
# set msg level
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment