fix
This commit is contained in:
1 parent
e1829bdc56
commit
956e836e51
2 files changed
+9
-6
No files matched your search
@@ -142,7 +142,7 @@ func Init() {
|
||||
|
||||
pluginNo := 1
|
||||
filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
|
||||
if info != nil && !info.IsDir() && !strings.Contains(info.Name(), ".") {
|
||||
if info != nil && !info.IsDir() && (!strings.Contains(info.Name(), ".") || strings.Contains(info.Name(), ".exe")) {
|
||||
|
||||
socketPath := fmt.Sprintf("%s/%d.socket", root, pluginNo)
|
||||
|
||||
|
||||
Reference in new issue
Block a user