Syntax error

This commit is contained in:
Romain de Laage 2020-07-08 18:04:32 +02:00
parent 17770a98a7
commit 12a4490a86
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ echo "$HOST_IP" >> $PATH_LOG
###############
# DO THE WORK #
###############
if [ -z $CURRENT_IP -o -z $HOST_IP ]
if [ -z "$CURRENT_IP" -o -z "$HOST_IP" ]
then
echo "No IP retrieved" >> $PATH_LOG
else