aboutsummaryrefslogtreecommitdiffstats
path: root/examples/compact
diff options
context:
space:
mode:
Diffstat (limited to 'examples/compact')
-rw-r--r--examples/compact2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/compact b/examples/compact
index 6ba9fe7..0ae737d 100644
--- a/examples/compact
+++ b/examples/compact
@@ -110,7 +110,7 @@ def pdeath(signal, *command):
path = os.environ['PATH'].split(':')
for p in path:
p += '/pdeath'
- if os.access(p, os.F_OK | os.X_OK, effective_ids = True):
+ if os.access(p, os.X_OK, effective_ids = True):
return (p, signal, *command)
except:
pass