aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 10:35:24 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 10:36:06 +0200
commit100325a87eec19533778b352397bf3ed66a25ff2 (patch)
tree6640e63136a28c8e8b02fe1e81fc863e2521c557 /openbsc
parent3ac7f10450588203fe79eb01c5d3bc0f45f39044 (diff)
bsc_hack.c: Explain why the program will exit...
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/bsc_hack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c
index 02de54217..8d8d82abf 100644
--- a/openbsc/src/bsc_hack.c
+++ b/openbsc/src/bsc_hack.c
@@ -1069,8 +1069,10 @@ static int bootstrap_network(void)
telnet_init(gsmnet, 4242);
rc = vty_read_config_file(config_file);
- if (rc < 0)
+ if (rc < 0) {
+ fprintf(stderr, "Failed to parse the config file: '%s'\n", config_file);
return rc;
+ }
register_signal_handler(SS_NM, nm_sig_cb, NULL);