Don't exit in functions.
This commit is contained in:
parent
a178d53202
commit
d3436344ee
@ -40,7 +40,7 @@ depend() {
|
|||||||
start_pre() {
|
start_pre() {
|
||||||
if [ ! -r "${ntpd_config}" ]; then
|
if [ ! -r "${ntpd_config}" ]; then
|
||||||
eerror "${ntpd_config} is not readable"
|
eerror "${ntpd_config} is not readable"
|
||||||
exit 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${ntpd_chroot}" ]; then
|
if [ -n "${ntpd_chroot}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user