aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-03 12:43:12 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-03 12:43:12 -0600
commitac42e81a6419b281ed3f62900e29a5a802106dce (patch)
tree26483eb60e382b2b4d532d26900341fdc342c2d0 /sh
parentaf70862a7a115d6269affca663423e9340d6e929 (diff)
supervise-daemon.sh: drop the unused stopsig variable
Diffstat (limited to 'sh')
-rw-r--r--sh/supervise-daemon.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/sh/supervise-daemon.sh b/sh/supervise-daemon.sh
index 69d74593..e403a789 100644
--- a/sh/supervise-daemon.sh
+++ b/sh/supervise-daemon.sh
@@ -57,8 +57,7 @@ supervise_stop()
pidfile="${startpidfile:-$pidfile}"
ebegin "Stopping ${name:-$RC_SVCNAME}"
supervise-daemon "${RC_SVCNAME}" --stop \
- ${pidfile:+--pidfile} $chroot$pidfile \
- ${stopsig:+--signal} $stopsig
+ ${pidfile:+--pidfile} $chroot$pidfile
eend $? "Failed to stop ${name:-$RC_SVCNAME}"
}