From d48a8becba6f701b2d243a29d4ccc7ff03c1ed3a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 6 Oct 2016 21:56:23 +0200 Subject: m + add ii MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/compact | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/compact') 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 -- cgit v1.2.3-70-g09d2