fix: command not found in shell

pull/3438/head
n-i-x 2024-08-30 00:44:10 +00:00
parent 2369e5c0ed
commit cfea291397
1 changed files with 1 additions and 1 deletions

View File

@ -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