Fix small typo in start.sh from my last commit to start.sh
This commit is contained in:
parent
03d92b7c18
commit
4f73509e78
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue