diff options
| author | ruki <[email protected]> | 2022-05-17 00:45:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-17 00:45:25 +0800 |
| commit | 61719b2242a0ea7f0bc263b4012f02b8f5daf216 (patch) | |
| tree | 0b2524ebcae68b8fe273869d080cbdd4c5260888 /xmake/modules/private | |
| parent | 7da97c871974089e3ada1baad9544599f14bd423 (diff) | |
improve gcc/cl
Diffstat (limited to 'xmake/modules/private')
| -rw-r--r-- | xmake/modules/private/service/distcc_build/client.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/private/service/distcc_build/client.lua b/xmake/modules/private/service/distcc_build/client.lua index d3097c04d..deca085c0 100644 --- a/xmake/modules/private/service/distcc_build/client.lua +++ b/xmake/modules/private/service/distcc_build/client.lua @@ -220,10 +220,7 @@ end function distcc_build_client:iorunv(program, argv, opt) -- get free host - local host = self:_get_freehost() - if not host then - return os.iorunv(program, argv, opt) - end + local host = assert(self:_get_freehost(), "free host not found!") -- lock this host self:_host_status_lock(host) |
