mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Fix shell check variable quotation.
Signed-off-by: Jehu Marcos Herrera Puentes <58377032+JMarcosHP@users.noreply.github.com>
This commit is contained in:
parent
c5da6e718f
commit
5f844aeeb1
1 changed files with 3 additions and 3 deletions
|
|
@ -6,8 +6,8 @@ COUNT=1
|
||||||
|
|
||||||
# Wait until the domain is reachable
|
# Wait until the domain is reachable
|
||||||
sleep 15
|
sleep 15
|
||||||
while [ $COUNT -le $MAX_RETRY ]; do
|
while [ "$COUNT" -le "$MAX_RETRY" ]; do
|
||||||
if nc -z $NC_DOMAIN 443; then
|
if nc -z "$NC_DOMAIN" 443; then
|
||||||
echo "Domain reached."
|
echo "Domain reached."
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
|
|
@ -16,7 +16,7 @@ while [ $COUNT -le $MAX_RETRY ]; do
|
||||||
((COUNT++))
|
((COUNT++))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [ $COUNT -gt $MAX_RETRY ]; then
|
if [ "$COUNT" -gt "$MAX_RETRY" ]; then
|
||||||
echo "The domain could not be reached after $MAX_RETRY attempts. Proceeding anyway..."
|
echo "The domain could not be reached after $MAX_RETRY attempts. Proceeding anyway..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue