aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_hack.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/bsc_hack.c')
-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);