diff options
| author | Keith McRae <keith.mcrae@phabrix.com> | 2024-09-18 14:31:18 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-09-18 09:52:30 -0700 |
| commit | ac20f1d653e6a5236e4368d101051cb49842a07e (patch) | |
| tree | 5fa266e1bcb7c96856fb5042f74183bb1f3f4377 /meta-networking | |
| parent | 1978e19f863edcd1057a96a47a2b62a400579fc6 (diff) | |
| download | meta-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>
Diffstat (limited to 'meta-networking')
| -rwxr-xr-x | meta-networking/recipes-support/ntp/ntp/ntpd | 2 |
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 | *) |
