diff mbox series

[16/26] openntpd: don't test if the binary exists in the init script

Message ID 20180416022944.13644-17-casantos@datacom.ind.br
State Accepted
Headers show
Series init scripts: don't test if binaries exist | expand

Commit Message

Carlos Santos April 16, 2018, 2:29 a.m. UTC
The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
---
 package/openntpd/S49ntp | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/package/openntpd/S49ntp b/package/openntpd/S49ntp
index c211ac835e..7ce46eba28 100755
--- a/package/openntpd/S49ntp
+++ b/package/openntpd/S49ntp
@@ -1,6 +1,5 @@ 
 #!/bin/sh
 
-[ -x /usr/sbin/ntpd ] || exit 0
 [ -f /etc/ntpd.conf ] || exit 0
 
 case "$1" in