summaryrefslogtreecommitdiff
path: root/usr/src/cmd/svc/shell/smf_include.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/svc/shell/smf_include.sh')
-rw-r--r--usr/src/cmd/svc/shell/smf_include.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/cmd/svc/shell/smf_include.sh b/usr/src/cmd/svc/shell/smf_include.sh
index 429e3310f4..a5e3431d5b 100644
--- a/usr/src/cmd/svc/shell/smf_include.sh
+++ b/usr/src/cmd/svc/shell/smf_include.sh
@@ -24,6 +24,7 @@
# Use is subject to license terms.
# Copyright 2012 Joyent, Inc. All rights reserved.
# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2012 Joyent, Inc. All rights reserved.
#
smf_present () {
@@ -155,7 +156,7 @@ smf_netstrategy () {
#
# Example, send SIGTERM to contract 200:
#
-# smf_kill_contract 200 TERM
+# smf_kill_contract 200 TERM
#
# Since killing a contract with pkill(1) is not atomic,
# smf_kill_contract will continue to send SIGNAL to CONTRACT
@@ -202,7 +203,7 @@ smf_kill_contract() {
# Return if WAIT is not set or is "0"
[ -z "$3" ] && return 0
[ "$3" -eq 0 ] && return 0
-
+
# If contract does not empty, keep killing the contract to catch
# any child processes missed because they were forking
/usr/bin/pgrep -c $1 > /dev/null 2>&1