From: Vincent Bernat Date: Wed, 19 Aug 2015 15:11:26 +0000 (+0200) Subject: lldpcli: display a warning when a configuration file is not found X-Git-Tag: 0.7.17~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4f78b30b0b3c87e65c5ca4ea1f055c6dfde155e;p=thirdparty%2Flldpd.git lldpcli: display a warning when a configuration file is not found Otherwise, the output of lldpcli would look pretty empty. --- diff --git a/src/client/lldpcli.c b/src/client/lldpcli.c index a0b1d7a4..38e73541 100644 --- a/src/client/lldpcli.c +++ b/src/client/lldpcli.c @@ -385,7 +385,7 @@ input_append(const char *arg, struct inputs *inputs, int acceptdir) { struct stat statbuf; if (stat(arg, &statbuf) == -1) { - log_info("lldpctl", "cannot find configuration file/directory %s", + log_warn("lldpctl", "cannot find configuration file/directory %s", arg); return; }