From b0d4eac41dfba5278169b5ee6d1befc204736e33 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Sun, 16 Jul 2017 11:04:25 +0200 Subject: [PATCH] plugin: make the info about non-executable file in plugins dir and Error log License: MIT Signed-off-by: Jakub Sztandera --- plugin/loader/load_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/loader/load_linux.go b/plugin/loader/load_linux.go index 4d1a18cf8..ee867a246 100644 --- a/plugin/loader/load_linux.go +++ b/plugin/loader/load_linux.go @@ -32,7 +32,7 @@ func linuxLoadFunc(pluginDir string) ([]iplugin.Plugin, error) { // file is not executable let's not load it // this is to prevent loading plugins from for example non-executable // mounts, some /tmp mounts are marked as such for security - log.Warningf("non-executable file in plugins directory: %s", fi) + log.Errorf("non-executable file in plugins directory: %s", fi) return nil }