From e5d4d120efe46db2afc7b2e2754c26136310b688 Mon Sep 17 00:00:00 2001 From: CodeChenL <43897062+CodeChenL@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:29:31 +0800 Subject: [PATCH] fix: apply suggestions from code review Co-authored-by: ZHANG Yuntian --- src/usr/lib/rsetup/tui/system/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/lib/rsetup/tui/system/system.sh b/src/usr/lib/rsetup/tui/system/system.sh index b806037..76416b4 100644 --- a/src/usr/lib/rsetup/tui/system/system.sh +++ b/src/usr/lib/rsetup/tui/system/system.sh @@ -74,7 +74,7 @@ __system_bootloader_helper() { return fi - if __external_script_type_check "/usr/lib/u-boot/$bootloader/setup.sh" "$bootloader_method" "function" 2>/dev/null && \ + if __external_script_type_check "/usr/lib/u-boot/$bootloader/setup.sh" "$bootloader_method" "function" && \ "$bootloader_method" "$bootloader" then msgbox "The $bootloader_type has been updated successfully."