mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 06:23:58 +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
|
startdaemon
|
||||||
;;
|
;;
|
||||||
status)
|
status)
|
||||||
status /usr/sbin/ntpd;
|
status ntpd;
|
||||||
exit $?
|
exit $?
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user