From 24605f01d627cabc75a0ad60136a5efedad4a25b Mon Sep 17 00:00:00 2001 From: Brijesh Yadav Date: Mon, 13 Mar 2023 16:58:23 +0530 Subject: [PATCH] replace OR with || operator --- linux/preview/examples/mssql-customize/configure-db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/preview/examples/mssql-customize/configure-db.sh b/linux/preview/examples/mssql-customize/configure-db.sh index be49de93..993d74b7 100644 --- a/linux/preview/examples/mssql-customize/configure-db.sh +++ b/linux/preview/examples/mssql-customize/configure-db.sh @@ -16,7 +16,7 @@ while [[ $DBSTATUS -ne 0 ]] && [[ $i -lt 60 ]] && [[ $ERRCODE -ne 0 ]]; do sleep 1 done -if [ $DBSTATUS -ne 0 ] OR [ $ERRCODE -ne 0 ]; then +if [ $DBSTATUS -ne 0 ] || [ $ERRCODE -ne 0 ]; then echo "SQL Server took more than 60 seconds to start up or one or more databases are not in an ONLINE state" exit 1 fi