mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
plugin: make the info about non-executable file in plugins dir and Error log
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
71bb41771c
commit
b0d4eac41d
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user