summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua')
-rw-r--r--applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua b/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua
index 60817db832..929b7ed075 100644
--- a/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua
+++ b/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua
@@ -24,7 +24,7 @@ s:option(Flag, "enabled", translate("enable", "Enable"))
disk = s:option(Value, "disk", translate("disk"))
disk.rmempty = true
-for _, dev in nixio.fs.glob("/dev/[sh]d[a-z]") do
+for dev in nixio.fs.glob("/dev/[sh]d[a-z]") do
disk:value(nixio.fs.basename(dev))
end