supervise-daemon.sh: drop invalid --signal switch

This fixes #230.
This commit is contained in:
William Hubbs 2018-11-06 10:54:02 -06:00
parent 008c9d0036
commit 60e60dc9bb

View File

@ -59,7 +59,6 @@ supervise_stop()
ebegin "Stopping ${name:-$RC_SVCNAME}" ebegin "Stopping ${name:-$RC_SVCNAME}"
supervise-daemon "${RC_SVCNAME}" --stop \ supervise-daemon "${RC_SVCNAME}" --stop \
${pidfile:+--pidfile} $chroot$pidfile \ ${pidfile:+--pidfile} $chroot$pidfile \
${stopsig:+--signal} $stopsig
eend $? "Failed to stop ${name:-$RC_SVCNAME}" eend $? "Failed to stop ${name:-$RC_SVCNAME}"
} }