From 968e613037194ecef47ce1e98ff90c20c60a0499 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 3 Apr 2019 20:49:52 +0200 Subject: [PATCH] list-keywords: don't load yaml Avoids a useless warning if the file is not found. --- src/util-running-modes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util-running-modes.c b/src/util-running-modes.c index e152c5a251..9ff1cade0d 100644 --- a/src/util-running-modes.c +++ b/src/util-running-modes.c @@ -32,8 +32,7 @@ int ListKeywords(const char *keyword_info) { - if (ConfYamlLoadFile(DEFAULT_CONF_FILE) != -1) - SCLogLoadConfig(0, 0); + SCLogLoadConfig(0, 0); MpmTableSetup(); SpmTableSetup(); AppLayerSetup();