diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-21 18:08:16 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-21 18:10:12 +0100 |
commit | ae2473c2ca07cf5173a3dab22bc64e7b135ef848 (patch) | |
tree | d431fefb61fec2ee0b7efa639064dce36cd5f035 /src/osmo-bts-sysmo | |
parent | fb067905d5e4feb73a41556b798640a8b0f01b77 (diff) |
systemd: Do not restart with a broken config file or such
Only restart in case of a crash or the exit(42) when the OML/RSL
link is going down.
Diffstat (limited to 'src/osmo-bts-sysmo')
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index 74ee47f8..921103e6 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -351,7 +351,7 @@ int main(int argc, char **argv) if (pcu_sock_init()) { fprintf(stderr, "PCU L1 socket failed\n"); - exit(-1); + exit(1); } signal(SIGINT, &signal_handler); |