summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpers/bitmask-root2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/bitmask-root b/helpers/bitmask-root
index 706d6f5..929e0f9 100644
--- a/helpers/bitmask-root
+++ b/helpers/bitmask-root
@@ -106,7 +106,7 @@ def swhich(binary):
:rtype: str
"""
- for folder in ["/sbin", "/usr/sbin", "/usr/local/sbin"]:
+ for folder in ["/bin", "/sbin", "/usr/bin", "/usr/sbin", "/usr/local/sbin"]:
path = os.path.join(folder, binary)
if os.path.isfile(path):
return path