Typo
authorJavier Bértoli <jbertoli@curii.com>
Wed, 16 Mar 2022 14:47:52 +0000 (11:47 -0300)
committerJavier Bértoli <jbertoli@curii.com>
Wed, 16 Mar 2022 14:47:52 +0000 (11:47 -0300)
no issue #
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

tools/salt-install/provision.sh

index ec64a97b8bc281746cd4c0017d02a8ffb7422da7..07bc63c11d44c38c145a45ce790ae316692e518c 100755 (executable)
@@ -263,7 +263,7 @@ if [ ! -z "${HOSTNAME_EXT}" ] ; then
   # Make sure that the value configured as IP_INT is a real IP on the system.
   # If we don't error out early here when there is a mismatch, the formula will
   # fail with hard to interpret nginx errors later on.
   # Make sure that the value configured as IP_INT is a real IP on the system.
   # If we don't error out early here when there is a mismatch, the formula will
   # fail with hard to interpret nginx errors later on.
-  ip addr list |grep -q " ${IP_INT}/"
+  ip addr list |grep -q "${IP_INT}/"
   if [[ $? -ne 0 ]]; then
     echo "Unable to find the IP_INT address '${IP_INT}' on the system, please correct the value in local.params. Exiting..."
     exit 1
   if [[ $? -ne 0 ]]; then
     echo "Unable to find the IP_INT address '${IP_INT}' on the system, please correct the value in local.params. Exiting..."
     exit 1