aboutsummaryrefslogtreecommitdiff
path: root/init.d.misc
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-06 10:49:11 +0000
committerRoy Marples <roy@marples.name>2007-12-06 10:49:11 +0000
commitd3436344eeed79fcb9b0d59d3d9231bad31b310a (patch)
tree3d6c599feadf7ec825e43bf20a1f03b8759e9a34 /init.d.misc
parenta178d532020aa159b27fa0fa5e9bb7490c5c35e6 (diff)
Don't exit in functions.
Diffstat (limited to 'init.d.misc')
-rw-r--r--init.d.misc/ntpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.misc/ntpd b/init.d.misc/ntpd
index 000bf366..28ca5b1a 100644
--- a/init.d.misc/ntpd
+++ b/init.d.misc/ntpd
@@ -40,7 +40,7 @@ depend() {
start_pre() {
if [ ! -r "${ntpd_config}" ]; then
eerror "${ntpd_config} is not readable"
- exit 1
+ return 1
fi
if [ -n "${ntpd_chroot}" ]; then