summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blabouncer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/blabouncer.c b/blabouncer.c
index 56c21a0..2640753 100644
--- a/blabouncer.c
+++ b/blabouncer.c
@@ -1070,6 +1070,7 @@ int main(int argc, char *argv[]) {
int ret = getconfarr("nicks", settings.conffile, settings.ircnicks);
if (!ret) {
printf("main(): error getting any 'nicks' from configuration file.\n");
+ exit(1);
} else if (ret == -1) {
// Error reading an array line from the configuration file
// Remove any newlines from the middle of the string so error printing works nicely