diff options
| author | Christof Meerwald <[email protected]> | 2023-12-16 15:52:58 +0000 |
|---|---|---|
| committer | Christof Meerwald <[email protected]> | 2023-12-16 15:52:58 +0000 |
| commit | bfd14e45ff965f94485251db72cac1771ce78be5 (patch) | |
| tree | 8c3ae62076c47f7d959aff0194ead464c63c9b2b | |
| parent | c9ebbda2042b6b018fed59810b6af894486e7f80 (diff) | |
Haiku OS doesn't have any non-root users, so it doesn't make sense to warn
about running as the root user
| -rw-r--r-- | xmake/core/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua index db284c431..f3412d1d1 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -266,7 +266,7 @@ function main.entry() end -- check run command as root - if not option.get("root") and os.getenv("XMAKE_ROOT") ~= 'y' then + if not option.get("root") and os.getenv("XMAKE_ROOT") ~= 'y' and os.host() ~= 'haiku' then if os.isroot() then errors = [[Running xmake as root is extremely dangerous and no longer supported. As xmake does not drop privileges on installation you would be giving all |
