baresip: use return in init script
"start_service()" is a function, hence "return" should be used instead of "exit". Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
69aebd4f4f
commit
b69ae7b934
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ start_service() {
|
||||||
if [ "$ENABLE_BARESIP" != yes ]; then
|
if [ "$ENABLE_BARESIP" != yes ]; then
|
||||||
$LOGGER User configuration incomplete - not starting $DAEMON
|
$LOGGER User configuration incomplete - not starting $DAEMON
|
||||||
$LOGGER Check ENABLE_BARESIP in $DEFAULT
|
$LOGGER Check ENABLE_BARESIP in $DEFAULT
|
||||||
exit 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
|
|
Loading…
Reference in a new issue