list-keywords: don't load yaml

Avoids a useless warning if the file is not found.
pull/3772/head
Victor Julien 6 years ago
parent 1b1fc9fee2
commit 968e613037

@ -32,8 +32,7 @@
int ListKeywords(const char *keyword_info) int ListKeywords(const char *keyword_info)
{ {
if (ConfYamlLoadFile(DEFAULT_CONF_FILE) != -1) SCLogLoadConfig(0, 0);
SCLogLoadConfig(0, 0);
MpmTableSetup(); MpmTableSetup();
SpmTableSetup(); SpmTableSetup();
AppLayerSetup(); AppLayerSetup();

Loading…
Cancel
Save