diff --git a/plugins.go b/plugins.go index 668c51654..cf2d54253 100644 --- a/plugins.go +++ b/plugins.go @@ -21,6 +21,7 @@ func globalPluginDirs() []string { log.Printf("[ERROR] Error finding global config directory: %s", err) } else { machineDir := fmt.Sprintf("%s_%s", runtime.GOOS, runtime.GOARCH) + ret = append(ret, filepath.Join(dir, "plugins")) ret = append(ret, filepath.Join(dir, "plugins", machineDir)) }