Merge branch 'collectd-4.5' into collectd-4.6
[collectd.git] / src / plugin.c
index 367c0d1..74565c3 100644 (file)
@@ -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;
                }