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:
Jens Schweikhardt 2004-10-17 13:39:42 +00:00
parent ae4d5e2921
commit 336f47d061
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136615

View File

@ -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