1 Commits
v1.1 ... v1.1.1

Author SHA1 Message Date
eneller
6522fea34c fix: error on empty input 2025-10-26 10:43:01 +01:00

View File

@@ -117,7 +117,7 @@ func main() {
continue
}
args, err := shlex.Split(scanner.Text())
if err != nil {
if err != nil || len(args) == 0 {
fmt.Fprintf(os.Stderr, "Error parsing command: %v\n", err)
continue
}