summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-16 10:51:40 +0800
committerruki <[email protected]>2018-12-16 10:51:40 +0800
commitd79d901f0aff9f203fdd51fa40f29d3307e1b028 (patch)
tree51e082330589f015e0db53aa611e90f22beb56c1
parent0f6831e7e277cf1ef2148e1594363ceb27d79bc6 (diff)
add error tips for update
-rw-r--r--xmake/actions/update/main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index 6981d2231..c054c24f9 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -49,6 +49,9 @@ function _sudo(cmd)
-- failed or not permission? request administrator permission and run it again
function (errors)
+ -- trace
+ vprint(errors)
+
-- try get privilege
if privilege.get() then
local ok = try