commit | 626768c7d33d1768f79828e3dc342ecca84c6b78 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 10:35:24 2009 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 10:36:06 2009 +0200 |
tree | 6640e63136a28c8e8b02fe1e81fc863e2521c557 | |
parent | 583ceaf7e50e5347739a07544946af562951829e [diff] |
bsc_hack.c: Explain why the program will exit...
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c index 02de542..8d8d82a 100644 --- a/openbsc/src/bsc_hack.c +++ b/openbsc/src/bsc_hack.c
@@ -1069,8 +1069,10 @@ 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);