summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2004-10-17 13:39:42 +0000
committerschweikh <schweikh@FreeBSD.org>2004-10-17 13:39:42 +0000
commit642fb16ac0a1d3a643105af0697c1fbbbff77dad (patch)
tree6a700d4c5d7942a16d9498709904f6ed09a96fe9 /etc/rc.shutdown
parent2816c3d57bf88b05d4e46bee05631b17223c1ece (diff)
downloadFreeBSD-src-642fb16ac0a1d3a643105af0697c1fbbbff77dad.zip
FreeBSD-src-642fb16ac0a1d3a643105af0697c1fbbbff77dad.tar.gz
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
Diffstat (limited to 'etc/rc.shutdown')
-rw-r--r--etc/rc.shutdown4
1 files 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
OpenPOWER on IntegriCloud