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}"
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}"
}