Package: openntpd
Version: 3.6.1p1-2

I've found sth strange in my debian sarge's /etc/init.d/openntpd script.
"./openntpd restart" fails if the ntpd is not running, thus it doesn't
get over the line "start-stop-daemon --stop --quiet --exec /usr/sbin/ntpd"
because of "set -e". Wouldn't it be better to restart even if ntpd is not
running?

I am using freshly installed Debian Sarge.

Suggested (working :-) patch:
--- /etc/init.d/openntpd        2006-08-31 00:41:55.000000000 +0200
+++ /tmp/openntpd      2006-08-31 19:55:47.000000000 +0200
@@ -22,8 +22,6 @@
        . /etc/default/openntpd
 fi
 
-set -e
-
 case "$1" in
   start)
        echo -n "Starting $DESC: "



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to