summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tool/find_sudo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tool/find_sudo.lua')
-rw-r--r--xmake/modules/detect/tool/find_sudo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tool/find_sudo.lua b/xmake/modules/detect/tool/find_sudo.lua
index 968746020..3d0082b17 100644
--- a/xmake/modules/detect/tool/find_sudo.lua
+++ b/xmake/modules/detect/tool/find_sudo.lua
@@ -42,7 +42,7 @@ import("lib.detect.find_programver")
function main(opt)
-- find program
- local program = find_program("sudo", { "/usr/bin", "/usr/local/bin"}, "-h")
+ local program = find_program("sudo", {}, "-h")
-- find program version
local version = nil