supervise-daemon.sh: drop the unused stopsig variable

This commit is contained in:
William Hubbs 2018-12-03 12:43:12 -06:00
parent af70862a7a
commit ac42e81a64

View File

@ -57,8 +57,7 @@ supervise_stop()
pidfile="${startpidfile:-$pidfile}" pidfile="${startpidfile:-$pidfile}"
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}"
} }