X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fplugin.c;h=74565c35821d11cdcd2c026e88ad5dc3a65d5ac5;hb=c57f2a191b63ce73fc432befebe9fa3af97c8eb5;hp=367c0d125d10e508d6fca078135c3c823014fce1;hpb=2dfe59bc808f1b58226c752511318ebe9f78e34e;p=collectd.git diff --git a/src/plugin.c b/src/plugin.c index 367c0d12..74565c35 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -376,6 +376,7 @@ int plugin_load (const char *type) else if (!S_ISREG (statbuf.st_mode)) { /* don't follow symlinks */ + WARNING ("stat %s: not a regular file", filename); continue; }