diff options
| author | Sebastian Kemper <sebastian_ml@gmx.net> | 2022-11-08 21:10:52 +0100 |
|---|---|---|
| committer | Sebastian Kemper <sebastian_ml@gmx.net> | 2022-11-08 21:11:08 +0100 |
| commit | b69ae7b9344228e1e83aaee2f62cebbd599c1388 (patch) | |
| tree | de9c8b3baea68abac0cfd95cff1867dd8e02270f | |
| parent | 69aebd4f4f4f8cf244276c4967813061412aed21 (diff) | |
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>
| -rw-r--r-- | net/baresip/files/baresip.init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
