diff --git a/command/alloc_exec.go b/command/alloc_exec.go index 71ed7f4a1..c19bca29a 100644 --- a/command/alloc_exec.go +++ b/command/alloc_exec.go @@ -194,7 +194,6 @@ func (l *AllocExecCommand) Run(args []string) int { if err != nil { l.Ui.Error(err.Error()) - l.Ui.Error("\nPlease specify the task.") return 1 } } diff --git a/command/alloc_logs.go b/command/alloc_logs.go index 2717a01ab..5865f955b 100644 --- a/command/alloc_logs.go +++ b/command/alloc_logs.go @@ -190,7 +190,6 @@ func (l *AllocLogsCommand) Run(args []string) int { if err != nil { l.Ui.Error(err.Error()) - l.Ui.Error("\nPlease specify the task.") return 1 } }