bsc_hack.c: Explain why the program will exit...

This commit is contained in:
Holger Hans Peter Freyther 2009-08-10 10:35:24 +02:00
parent 3ac7f10450
commit 100325a87e
1 changed files with 3 additions and 1 deletions

View File

@ -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);