aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-10-06 21:56:23 +0200
committerMattias Andrée <maandree@kth.se>2016-10-06 23:42:49 +0200
commitd48a8becba6f701b2d243a29d4ccc7ff03c1ed3a (patch)
tree56d723f6f9d81a5d078b993d9488d185c69125d5 /examples
parentm (diff)
downloadxpybar-d48a8becba6f701b2d243a29d4ccc7ff03c1ed3a.tar.gz
xpybar-d48a8becba6f701b2d243a29d4ccc7ff03c1ed3a.tar.bz2
xpybar-d48a8becba6f701b2d243a29d4ccc7ff03c1ed3a.tar.xz
m + add ii
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'examples')
-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