mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +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:
@@ -72,7 +72,7 @@ case "$1" in
|
||||
startdaemon
|
||||
;;
|
||||
status)
|
||||
status /usr/sbin/ntpd;
|
||||
status ntpd;
|
||||
exit $?
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user