From 642fb16ac0a1d3a643105af0697c1fbbbff77dad Mon Sep 17 00:00:00 2001 From: schweikh Date: Sun, 17 Oct 2004 13:39:42 +0000 Subject: 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 2f5a753..1d15154 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 -- cgit v1.1