diff --git a/bin/pssh b/bin/pssh index 5b6c2a5..dc53a36 100755 --- a/bin/pssh +++ b/bin/pssh @@ -90,7 +90,7 @@ def do_pssh(hosts, cmdline, opts): except FatalError: sys.exit(1) - if min(statuses) < 0: + if None in statuses: # At least one process was killed. sys.exit(3) # The any builtin was introduced in Python 2.5 (so we can't use it yet):