From 103da80a187fe44e421099dae7895cdb9e5bf3a2 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 12 Apr 2020 08:57:38 +0300 Subject: [PATCH] luci-app-advanced-reboot: fix syntax Add the missing ")" to lines 45 and 54. Fixes 75a4a80c1dd Fixes #3903 Signed-off-by: Hannu Nyman (cherry picked from commit 2c812fbd58fd7399969185cc501bdba561d98d95) --- .../luasrc/controller/advanced_reboot.lua | 4 ++-- 1 file 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 4b651a9df..a8297d7c7 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 -- 2.25.1