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
ae4d5e2921
commit
336f47d061
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136615
@ -67,8 +67,8 @@ _rcshutdown_watchdog=
|
|||||||
if [ -n "$rcshutdown_timeout" ]; then
|
if [ -n "$rcshutdown_timeout" ]; then
|
||||||
debug "Initiating watchdog timer."
|
debug "Initiating watchdog timer."
|
||||||
sleep $rcshutdown_timeout && (
|
sleep $rcshutdown_timeout && (
|
||||||
_msg="$rcshutdown_timeout second watchdog" \
|
_msg="$rcshutdown_timeout second watchdog"
|
||||||
" timeout expired. Shutdown terminated."
|
_msg="$_msg timeout expired. Shutdown terminated."
|
||||||
logger -t rc.shutdown "$_msg"
|
logger -t rc.shutdown "$_msg"
|
||||||
echo "$_msg"
|
echo "$_msg"
|
||||||
date
|
date
|
||||||
|
Loading…
Reference in New Issue
Block a user