diff --git a/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua b/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua index 5e2193e4..833f461d 100644 --- a/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua +++ b/package/gluon-hoodselector/luasrc/usr/lib/lua/hoodselector/util.lua @@ -140,7 +140,7 @@ function M.restart_services() "gluon-respondd", } - for proc in ipairs(proc_tbl) do + for i, proc in ipairs(proc_tbl) do if unistd.access("/etc/init.d/"..proc, "x") == 0 then print(proc.." restarting ...") os.execute("/etc/init.d/"..proc.." restart")