From fb0682eaaf24557873a4a43e3cec6723295ba128 Mon Sep 17 00:00:00 2001 From: JieXu Date: Sun, 16 Nov 2025 01:34:41 +0800 Subject: [PATCH] Update reinstall-fbl.sh --- reinstall-fbl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reinstall-fbl.sh b/reinstall-fbl.sh index a8c0069..9a27fed 100644 --- a/reinstall-fbl.sh +++ b/reinstall-fbl.sh @@ -373,7 +373,7 @@ Available options: ssh_key_error_and_exit "Windows path is not supported, please copy the key file to local filesystem and use /path/to/public_key" fi # Inline key or local file - if is_valid_ssh_key("$val"); then + if is_valid_ssh_key "$val"; then ssh_key="$val" else if [ ! -f "$val" ]; then @@ -746,7 +746,7 @@ fi # Get default image URL (redhat requires user-supplied --img) if [ -z "$IMG_URL" ]; then - IMG_URL=$(get_default_image_url("$TARGET_OS" "$TARGET_VER")) + IMG_URL=$(get_default_image_url "$TARGET_OS" "$TARGET_VER") if [ -z "$IMG_URL" ] && [ "$TARGET_OS" = "redhat" ]; then error "For redhat you must specify image URL with --img" fi