Skip to content

Commit

Permalink
fix: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: ZHANG Yuntian <[email protected]>
  • Loading branch information
CodeChenL and RadxaYuntian authored Jul 19, 2024
1 parent b07a139 commit e5d4d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/lib/rsetup/tui/system/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit e5d4d12

Please sign in to comment.