[no-ci] Fix typo (#1103)

pull/1106/head
Signor Pellegrino 2023-11-03 00:00:25 +03:00 committed by GitHub
parent 69bd0ec5c5
commit e1ba943ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,7 @@ start() {
start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" -- $NTPD_ARGS
status=$?
if [ "$status" -eq 0 ]; then
ntpd -q -N -n -d
echo "OK"
else
echo "FAIL"
@ -29,7 +30,6 @@ stop() {
status=$?
if [ "$status" -eq 0 ]; then
rm -f "$PIDFILE"
ntpd -q -N -n -d
echo "OK"
else
echo "FAIL"