From cc4183e1bb572e2835b5a84fe71cc509bf0506ff Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 10 Feb 2024 11:49:24 +0100 Subject: [PATCH] arc: fix codestyle Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index 45374dc8..a92d60b2 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -998,7 +998,7 @@ function cmdlineMenu() { sn="$(cat "${TMP_PATH}/resp" | sed -n '1p')" mac1="$(cat "${TMP_PATH}/resp" | sed -n '2p')" mac2="$(cat "${TMP_PATH}/resp" | sed -n '3p')" - if [ -z "${sn}" -o -z "${mac1}" ]; then + if [[ -z "${sn}" || -z "${mac1}" ]]; then dialog --backtitle "$(backtitle)" \ --title "Customize Mac" \ --yesno "Invalid SN/MAC, retry?" 0 0 [ $? -eq 0 ] && break