From: Sebastian Kemper Date: Tue, 8 Nov 2022 20:10:52 +0000 (+0100) Subject: baresip: use return in init script X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b69ae7b9344228e1e83aaee2f62cebbd599c1388;p=feed%2Ftelephony.git baresip: use return in init script "start_service()" is a function, hence "return" should be used instead of "exit". Signed-off-by: Sebastian Kemper --- diff --git a/net/baresip/files/baresip.init b/net/baresip/files/baresip.init index 72149be..d48e5d6 100644 --- a/net/baresip/files/baresip.init +++ b/net/baresip/files/baresip.init @@ -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