From 100325a87eec19533778b352397bf3ed66a25ff2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 10 Aug 2009 10:35:24 +0200 Subject: [PATCH] bsc_hack.c: Explain why the program will exit... --- openbsc/src/bsc_hack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);