[x86] hyperv-daemons: Use pid file name in init script status operation
While we're here, also drop the unnecessary commands to replicate the exit code.
This commit is contained in:
parent
9fec004526
commit
51100af154
|
@ -17,6 +17,7 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
|
|||
TRANSPARENT_HUGEPAGE_MADVISE
|
||||
* ALSA: Enable SND_OSSEMUL, a new dependency of SND_{MIXER,PCM}_OSS
|
||||
* [armel] rtc: Disable RTC_NVMEM
|
||||
* [x86] hyperv-daemons: Use pid file name in init script status operation
|
||||
|
||||
[ Uwe Kleine-König ]
|
||||
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin
|
||||
|
|
|
@ -81,7 +81,7 @@ case "$1" in
|
|||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME"
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
|
|
|
@ -80,7 +80,7 @@ case "$1" in
|
|||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME"
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
|
|
|
@ -80,7 +80,7 @@ case "$1" in
|
|||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME"
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
|
|
Loading…
Reference in New Issue