diff options
| author | ruki <[email protected]> | 2017-05-21 21:33:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-21 21:33:30 +0800 |
| commit | 83f448dc569b70410765dfe6241fabc351feb54f (patch) | |
| tree | 7bd1762bf8235d535980ff8223df6c50048a7365 /xmake/core/base/utils.lua | |
| parent | b173fc383b9b1e80f0cbd2229d7b6d46ff75f0b6 (diff) | |
fix write nuldev bug as root
Diffstat (limited to 'xmake/core/base/utils.lua')
| -rw-r--r-- | xmake/core/base/utils.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index 3bda8060c..42a55a5e9 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -122,7 +122,7 @@ function utils.verror(format, ...) if option.get("verbose") and format ~= nil then -- trace - utils.cprint("${bright red}error: ${default red}" .. string.tryformat(format, ...)) + utils.cprint("${bright red}error: ${clear}" .. string.tryformat(format, ...)) end end @@ -131,7 +131,7 @@ function utils.error(format, ...) -- trace if format ~= nil then - utils.cprint("${bright red}error: ${default red}" .. string.tryformat(format, ...)) + utils.cprint("${bright red}error: ${clear}" .. string.tryformat(format, ...)) end end |
