fix: command not found in shell (#3438)

pull/3469/head
n-i-x 3 months ago committed by GitHub
parent 7de6bc4a91
commit 121d9abecd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -12,7 +12,7 @@ import (
func ParseCommand(s *settings.Settings, raw string) ([]string, error) {
var command []string
if len(s.Shell) == 0 {
if len(s.Shell) == 0 || s.Shell[0] == "" {
cmd, args, err := SplitCommandAndArgs(raw)
if err != nil {
return nil, err

Loading…
Cancel
Save