plugin: make the info about non-executable file in plugins dir and Error log
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Jul 16, 2017 at 11:04 UTC
b0d4eac41dfba5278169b5ee6d1befc204736e33
1 file changed
+1
-1
plugin/loader/load_linux.go
+1
-1
@@ -32,7 +32,7 @@ func linuxLoadFunc(pluginDir string) ([]iplugin.Plugin, error) {
32
// file is not executable let's not load it
33
// this is to prevent loading plugins from for example non-executable
34
// mounts, some /tmp mounts are marked as such for security
35
- log.Warningf("non-executable file in plugins directory: %s", fi)
35
+ log.Errorf("non-executable file in plugins directory: %s", fi)
36
return nil
37
}
38