diff --git a/pkg/roachprod/install/cluster_synced.go b/pkg/roachprod/install/cluster_synced.go index 6a87c51689d3..c65005397392 100644 --- a/pkg/roachprod/install/cluster_synced.go +++ b/pkg/roachprod/install/cluster_synced.go @@ -2021,7 +2021,7 @@ func (c *SyncedCluster) Get(l *logger.Logger, nodes Nodes, src, dest string) err } } - if config.Quiet && l.File == nil { + if config.Quiet && l.File != nil { l.Printf("\n") linesMu.Lock() for i := range lines {