aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-12-07 00:33:08 +0000
committerEd Maste <emaste@FreeBSD.org>2019-12-07 00:33:08 +0000
commit7424699c9f94f9ba8ae6991b54608cfc3401a152 (patch)
treeab589ae048da1616bf30a740f21e3845117db108 /libexec
parentff326a187907ebc1d6ebb6b0d40caf1137e20377 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/rc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc.shutdown b/libexec/rc/rc.shutdown
index f8cdade4423ac..704546b1fb2a7 100644
--- a/libexec/rc/rc.shutdown
+++ b/libexec/rc/rc.shutdown
@@ -69,13 +69,13 @@ _rcshutdown_watchdog=
if [ -n "$rcshutdown_timeout" ]; then
debug "Initiating watchdog timer."
sleep $rcshutdown_timeout && (
- kill -KILL $$ >/dev/null 2>&1
_msg="$rcshutdown_timeout second watchdog"
_msg="$_msg timeout expired. Shutdown terminated."
logger -t rc.shutdown "$_msg"
echo
echo "$_msg"
date
+ kill -KILL $$ >/dev/null 2>&1
) &
_rcshutdown_watchdog=$!
fi