diff options
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 53670360f..617b0ee52 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -541,7 +541,7 @@ function os.runv(program, argv, opt) if ok ~= 0 then -- make errors - local errors = io.readfile(log) + local errors = io.readfile(logfile) if not errors or #errors == 0 then if argv ~= nil then errors = string.format("runv(%s %s) failed(%d)!", program, table.concat(argv, ' '), ok) |
