aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/gprs/gtphub_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gtphub_main.c b/openbsc/src/gprs/gtphub_main.c
index 0a7d383be..f56c44622 100644
--- a/openbsc/src/gprs/gtphub_main.c
+++ b/openbsc/src/gprs/gtphub_main.c
@@ -276,7 +276,8 @@ static void handle_options(struct cmdline_cfg *ccfg, int argc, char **argv)
ccfg->restart_counter_file = optarg;
break;
default:
- /* ignore */
+ LOGP(DGTPHUB, LOGL_FATAL, "Invalid command line argument, abort.\n");
+ exit(1);
break;
}
}