Blob Blame History Raw
diff --git a/bin/pssh b/bin/pssh
index 8fc2ecd..126ee16 100755
--- a/bin/pssh
+++ b/bin/pssh
@@ -93,7 +93,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)
     if any(x == 255 for x in statuses):