diff options
-rw-r--r-- | modules/admin-core/luasrc/controller/admin/servicectl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-core/luasrc/controller/admin/servicectl.lua b/modules/admin-core/luasrc/controller/admin/servicectl.lua index 83f07d7f27..ccd54da764 100644 --- a/modules/admin-core/luasrc/controller/admin/servicectl.lua +++ b/modules/admin-core/luasrc/controller/admin/servicectl.lua @@ -38,7 +38,7 @@ function action_restart() local service local services = { } - for service in luci.dispatcher.context.requestpath[3]:gmatch("%w+") do + for service in luci.dispatcher.context.requestpath[3]:gmatch("[%w_-]+") do services[#services+1] = service end |