luci-app-advanced-reboot: fix syntax
Add the missing ")" to lines 45 and 54.
Fixes 75a4a80c1d
Fixes #3903
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
5a33e3d72d
commit
2c812fbd58
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue