From 336f47d0618b9eb0fe2a46621f8ddb18b7dae34e Mon Sep 17 00:00:00 2001 From: Jens Schweikhardt Date: Sun, 17 Oct 2004 13:39:42 +0000 Subject: [PATCH] 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 --- etc/rc.shutdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 2f5a753225a8..1d15154a29fa 100644 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -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