Commit b4fd7c4b authored by Maciej Lipinski's avatar Maciej Lipinski Committed by Grzegorz Daniluk

[syslog] fixed incorrect "if" condition (missing square brackets)

parent a4fbb22a
......@@ -25,7 +25,7 @@ if echo "$WRS_LOG" | grep / > /dev/null; then
eval LOGPIPE=\" \> $WRS_LOG 2\>\&1 \";
else
# not a pathname: use verbatim
if "$WRS_LOG" = "default_syslog"; then
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\"
......
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