From 0ecffb58dd6896773c9d97dd2c36e15181912f07 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 29 Mar 2025 20:57:42 +0100 Subject: [PATCH] init.sh: fix syntax error line 184: [: ==: unary operator expected --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 4007885..fb1a643 100755 --- a/init.sh +++ b/init.sh @@ -181,7 +181,7 @@ case "$IMAGE_VERSION" in esac # Check machine type -if [ $(is_valid_machine "$MACHINE") == false ]; then +if [ "$(is_valid_machine "$MACHINE")" = "false" ]; then my_echo "\033[31;1mNo valid machine defined.\033[0m" my_echo "$HINT_MACHINES" exit 1