mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 19:14:34 +04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user