summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-04-12 08:57:38 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2020-04-12 08:57:38 +0300
commit2c812fbd58fd7399969185cc501bdba561d98d95 (patch)
tree001793d6d218afd2b115f924dd3928c6b9097b75 /applications
parent5a33e3d72d85b8f280f239b70a7355a5629e4beb (diff)
luci-app-advanced-reboot: fix syntax
Add the missing ")" to lines 45 and 54. Fixes 75a4a80c1dd Fixes #3903 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua b/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua
index 4b651a9df0..a8297d7c79 100644
--- a/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua
+++ b/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua
@@ -42,7 +42,7 @@ function get_partition_os_info(op_ubi)
cp_info = util.trim(util.exec('. /etc/os-release && echo "$OPENWRT_RELEASE"'))
end
end
- logger(i18n.translatef("attempting to mount alternative partition (mtd%s)", tostring(op_ubi))
+ logger(i18n.translatef("attempting to mount alternative partition (mtd%s)", tostring(op_ubi)))
alt_partition_unmount(op_ubi)
alt_partition_mount(op_ubi)
if fs.access("/alt/rom/etc/os-release") then
@@ -51,7 +51,7 @@ function get_partition_os_info(op_ubi)
op_info = util.trim(util.exec('. /alt/rom/etc/os-release && echo "$OPENWRT_RELEASE"'))
end
end
- logger(i18n.translatef("attempting to unmount alternative partition (mtd%s)", tostring(op_ubi))
+ logger(i18n.translatef("attempting to unmount alternative partition (mtd%s)", tostring(op_ubi)))
alt_partition_unmount(op_ubi)
return cp_info, op_info
end