mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 22:33:28 +00:00
ntp: Fix status call reporting incorrect value
The "status" function called by this script calls "pidof" to get the process id. "pidof" does not expect or operate with a full path. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
1978e19f86
commit
ac20f1d653
@ -72,7 +72,7 @@ case "$1" in
|
||||
startdaemon
|
||||
;;
|
||||
status)
|
||||
status /usr/sbin/ntpd;
|
||||
status ntpd;
|
||||
exit $?
|
||||
;;
|
||||
*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user