diff --git a/src/redis-trib.rb b/src/redis-trib.rb index 4c6c2c9b1..b18d7e1b2 100755 --- a/src/redis-trib.rb +++ b/src/redis-trib.rb @@ -299,7 +299,7 @@ class RedisTrib end } open_slots.uniq! - if open_slots.length + if open_slots.length > 0 puts "[WARNING] The following slots are open: #{open_slots.join(",")}" end if @fix