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:
Sebastian Kemper 2022-11-08 21:10:52 +01:00
parent 69aebd4f4f
commit b69ae7b934

View file

@ -21,7 +21,7 @@ start_service() {
if [ "$ENABLE_BARESIP" != yes ]; then
$LOGGER User configuration incomplete - not starting $DAEMON
$LOGGER Check ENABLE_BARESIP in $DEFAULT
exit 1
return 1
fi
procd_open_instance