From: Victor Julien Date: Wed, 3 Apr 2019 18:49:52 +0000 (+0200) Subject: list-keywords: don't load yaml X-Git-Tag: suricata-5.0.0-beta1~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=968e613037194ecef47ce1e98ff90c20c60a0499;p=thirdparty%2Fsuricata.git list-keywords: don't load yaml Avoids a useless warning if the file is not found. --- 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();