From 7a369682c637e685587b021cbe0835b4fe8d2cb2 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 12 Dec 2008 12:52:04 -0800 Subject: [PATCH] src/plugin.c: Emit warning in load_plugin if !S_ISREG Signed-off-by: Doug MacEachern Signed-off-by: Florian Forster --- src/plugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugin.c b/src/plugin.c index 31031d07..b120e7ba 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -573,6 +573,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; } -- 2.30.2