diff options
| -rw-r--r-- | xmake/core/base/tty.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/tty.lua b/xmake/core/base/tty.lua index 1976a8bb2..0144795f9 100644 --- a/xmake/core/base/tty.lua +++ b/xmake/core/base/tty.lua @@ -245,7 +245,7 @@ function tty._find_shell_from_parent() local pid = os.getpid() local tmpfile = os.tmpfile() local count = 0 - while pid ~= 0 and count < 10 do + while pid ~= 0 and count < 4 do count = count + 1 local shell_name = nil local shell_path = nil |
