Fix a bogus variable assignment. You can't expect
_msg="a" \ " b" to concat the strings. Use _msg="a" _msg="$_msg b" instead (intent is to not exceed 80 chars per line). MFC after: 1 week
This commit is contained in:
parent
dd79f69aef
commit
399f16c499
@ -67,8 +67,8 @@ _rcshutdown_watchdog=
|
||||
if [ -n "$rcshutdown_timeout" ]; then
|
||||
debug "Initiating watchdog timer."
|
||||
sleep $rcshutdown_timeout && (
|
||||
_msg="$rcshutdown_timeout second watchdog" \
|
||||
" timeout expired. Shutdown terminated."
|
||||
_msg="$rcshutdown_timeout second watchdog"
|
||||
_msg="$_msg timeout expired. Shutdown terminated."
|
||||
logger -t rc.shutdown "$_msg"
|
||||
echo "$_msg"
|
||||
date
|
||||
|
Loading…
Reference in New Issue
Block a user