diff --git a/command/status.go b/command/status.go index d7bcdde4a..83ef361c7 100644 --- a/command/status.go +++ b/command/status.go @@ -114,7 +114,7 @@ func (c *StatusCommand) Run(args []string) int { c.Ui.Error(fmt.Sprintf("No job(s) with prefix or id %q found", jobID)) return 1 } - if len(jobs) > 1 { + if len(jobs) > 1 && strings.TrimSpace(jobID) != jobs[0].ID { out := make([]string, len(jobs)+1) out[0] = "ID|Type|Priority|Status" for i, job := range jobs {