Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/suricata.c
Original file line number Diff line number Diff line change
Expand Up @@ -2453,6 +2453,10 @@ int SCFinalizeRunMode(void)
SCInstance *suri = &suricata;
switch (suri->run_mode) {
case RUNMODE_UNKNOWN:

SCLogWarning("Please specify a runmode or capture option.");
SCLogWarning("Use --list-runmodes to see available runmodes.");

PrintUsage(suri->progname);
return TM_ECODE_FAILED;
default:
Expand Down