versapay/chef — comment on commit ecfefee65f5bce4549e5a8d31b6c901ae6b96f22
File: chef/lib/chef/knife/ssh.rb line 177
By gene1wood:

It looks like the "compact" method merely removes "nil"s

```
irb(main):014:0> foo = [0,1]
=> [0, 1]
irb(main):015:0> foo.compact
=> [0, 1]
```

I'm using this instead (though there may be a more graceful solution) :

```ruby
exit_codes.count(0) == exit_codes.length
```