diff --git a/cmd/fleetctl/query.go b/cmd/fleetctl/query.go index 835fb9eb87..8957c7a7c0 100644 --- a/cmd/fleetctl/query.go +++ b/cmd/fleetctl/query.go @@ -160,7 +160,7 @@ func queryCommand() cli.Command { if !flQuiet { s.Suffix = msg } - if total == responded { + if total == responded && status != nil { s.Stop() if !flQuiet { fmt.Fprintln(os.Stderr, msg)