aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/rc.shutdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rc/rc.shutdown b/libexec/rc/rc.shutdown
index 0f60ffbad9cc8..f8cdade4423ac 100644
--- a/libexec/rc/rc.shutdown
+++ b/libexec/rc/rc.shutdown
@@ -69,12 +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