diff options
Diffstat (limited to '')
-rw-r--r-- | src/luarocks/install.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/install.lua b/src/luarocks/install.lua index c181d612..041d8ca2 100644 --- a/src/luarocks/install.lua +++ b/src/luarocks/install.lua | |||
@@ -129,7 +129,7 @@ function run(...) | |||
129 | end | 129 | end |
130 | 130 | ||
131 | local ok, err = fs.check_command_permissions(flags) | 131 | local ok, err = fs.check_command_permissions(flags) |
132 | if not ok then return nil, err end | 132 | if not ok then return nil, err, cfg.errorcodes.PERMISSIONDENIED end |
133 | 133 | ||
134 | if name:match("%.rockspec$") or name:match("%.src%.rock$") then | 134 | if name:match("%.rockspec$") or name:match("%.src%.rock$") then |
135 | util.printout("Using "..name.."... switching to 'build' mode") | 135 | util.printout("Using "..name.."... switching to 'build' mode") |