summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith McRae <keith.mcrae@phabrix.com>2024-09-18 14:31:18 +0100
committerKhem Raj <raj.khem@gmail.com>2024-09-18 09:52:30 -0700
commitac20f1d653e6a5236e4368d101051cb49842a07e (patch)
tree5fa266e1bcb7c96856fb5042f74183bb1f3f4377
parent1978e19f863edcd1057a96a47a2b62a400579fc6 (diff)
downloadmeta-openembedded-ac20f1d653e6a5236e4368d101051cb49842a07e.tar.gz
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>
-rwxr-xr-xmeta-networking/recipes-support/ntp/ntp/ntpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp/ntpd b/meta-networking/recipes-support/ntp/ntp/ntpd
index d1b9c49076..a0c43ed5e5 100755
--- a/meta-networking/recipes-support/ntp/ntp/ntpd
+++ b/meta-networking/recipes-support/ntp/ntp/ntpd
@@ -72,7 +72,7 @@ case "$1" in
72 startdaemon 72 startdaemon
73 ;; 73 ;;
74 status) 74 status)
75 status /usr/sbin/ntpd; 75 status ntpd;
76 exit $? 76 exit $?
77 ;; 77 ;;
78 *) 78 *)