소스 검색

Fix small typo in start.sh from my last commit to start.sh

Justin Trujillo 3 년 전
부모
커밋
4f73509e78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/start.sh

+ 1 - 1
scripts/start.sh

@@ -54,7 +54,7 @@ fi
 
 function host_check {
   INTERNAL_IP="$(hostname -I 2>&1| awk '{print $1}')"
-  if [ '$(grep -q "hostname: invalid option $IP' ]; then 
+  if [ '$(grep -q "hostname: invalid option $INTERNAL_IP' ]; then 
     INTERNAL_IP="$(ip route show | grep -i default | awk -F' ' '{print $9}')"
   fi
 }