fix: check exact match on command allow list
This commit is contained in:
2 files changed
+3
-9
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
// ParseCommand parses the command taking in account if the current
|
||||
// instance uses a shell to run the commands or just calls the binary
|
||||
// directyly.
|
||||
// directly.
|
||||
func ParseCommand(s *settings.Settings, raw string) ([]string, error) {
|
||||
var command []string
|
||||
|
||||
|
||||
Reference in new issue
Block a user