supervise-daemon.sh: drop the unused stopsig variable
This commit is contained in:
parent
af70862a7a
commit
ac42e81a64
@ -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}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user