diff --git a/extra/dist/tarantoolctl.in b/extra/dist/tarantoolctl.in index aedb13bc85a594b030dac97cc5fd074dfae7b979..c827f403f707c6e1eeb87b877527c9105bdf82b9 100755 --- a/extra/dist/tarantoolctl.in +++ b/extra/dist/tarantoolctl.in @@ -197,6 +197,10 @@ local function check_cmd(cmd) end local function check_user_level() + local uid = os.getenv('UID') + if uid == 0 then + return nil + end -- local dir configuration local pwd = os.getenv('PWD') if pwd ~= nil then