projects
/
feed
/
telephony.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69aebd4
)
baresip: use return in init script
author
Sebastian Kemper
<sebastian_ml@gmx.net>
Tue, 8 Nov 2022 20:10:52 +0000
(21:10 +0100)
committer
Sebastian Kemper
<sebastian_ml@gmx.net>
Tue, 8 Nov 2022 20:11:08 +0000
(21:11 +0100)
"start_service()" is a function, hence "return" should be used instead
of "exit".
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/baresip/files/baresip.init
patch
|
blob
|
history
diff --git
a/net/baresip/files/baresip.init
b/net/baresip/files/baresip.init
index 72149be2a709a6e463cf6ba07bb5a6a3a983a7a7..d48e5d60fcc42cac79b47386923004727705e772 100644
(file)
--- 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