summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 30a7a8fee6..c1d6968a4e 100644
--- a/setup.py
+++ b/setup.py
@@ -657,7 +657,7 @@ class PyBuildExt(build_ext):
ret = os.system("ldd %s > %s" % (do_readline, tmpfile))
else:
ret = 256
- if ret >> 8 == 0:
+ if ret == 0:
with open(tmpfile) as fp:
for ln in fp:
if 'curses' in ln: