diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-12-03 12:43:12 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-12-03 12:43:12 -0600 |
commit | ac42e81a6419b281ed3f62900e29a5a802106dce (patch) | |
tree | 26483eb60e382b2b4d532d26900341fdc342c2d0 | |
parent | af70862a7a115d6269affca663423e9340d6e929 (diff) |
supervise-daemon.sh: drop the unused stopsig variable
-rw-r--r-- | sh/supervise-daemon.sh | 3 |
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}" } |