From 821f0147999b3f6fa9888f89912c1075dbe86f4c Mon Sep 17 00:00:00 2001 From: alarig Date: Tue, 22 Jan 2019 15:09:02 +0100 Subject: [PATCH] Add missing space --- creationRoutesVM.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/creationRoutesVM.sh b/creationRoutesVM.sh index 7731586..4b65662 100755 --- a/creationRoutesVM.sh +++ b/creationRoutesVM.sh @@ -179,7 +179,7 @@ for ID_RANGE_V4 in ${ID_RANGES_V4}; do # If the previous command fails, it’s because trafic has # already be sent to the VM - if [ $? =2 ]; then + if [ $? = 2 ]; then ip neigh replace ${VM_IPV4} lladdr ${MAC} dev tap${VM_ID}i0 fi else @@ -222,7 +222,7 @@ for ID_RANGE_V6 in ${ID_RANGES_V6}; do # If the previous command fails, it’s because trafic has # already be sent to the VM - if [ $? =2 ]; then + if [ $? = 2 ]; then ip neigh replace ${VM_NH} lladdr ${MAC} dev tap${VM_ID}i0 fi else