From 832750297d3d47f8941fb154c05eed1dac25e3fc Mon Sep 17 00:00:00 2001 From: Dan Bungert Date: Mon, 17 Jul 2023 10:00:55 -0600 Subject: [PATCH] runtests: fix "unary operator expected" warning --- scripts/runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runtests.sh b/scripts/runtests.sh index 02f8e4aa..d389f0c4 100755 --- a/scripts/runtests.sh +++ b/scripts/runtests.sh @@ -46,7 +46,7 @@ validate () { echo "log file not created" exit 1 fi - if [ $opt = reset-only ]; then + if [ "$opt" = reset-only ]; then return fi python3 scripts/validate-autoinstall-user-data.py < $tmpdir/var/log/installer/autoinstall-user-data