diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/server/handlers/runcommand.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/handlers/runcommand.go b/internal/server/handlers/runcommand.go index 9dc878f..120c402 100644 --- a/internal/server/handlers/runcommand.go +++ b/internal/server/handlers/runcommand.go @@ -32,7 +32,7 @@ func (r runCommand) Start(ctx context.Context, argc int, args []string) { } command := strings.Join(args[1:], " ") - if strings.Contains(command, ";") { + if strings.Contains(command, ";") || strings.Contains(command, "\n") { r.startScript(ctx, command) return } |
