Merge pull request #1721 from dbungert/runtests-fix-reset-only

runtests: fix "unary operator expected" warning
This commit is contained in:
Dan Bungert 2023-07-17 10:56:25 -06:00 committed by GitHub
commit 872f5cd25b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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