summaryrefslogtreecommitdiffstats
path: root/source/n/pssh/pssh-2.3.1-py3-min-int-none.patch
blob: c202bc8eef7bd8e155b51ed3f9ee4b9900e8ac97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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):