removed 'debug' value for local_ip
This commit is contained in:
parent
155e363ce7
commit
09b03af815
1
master
1
master
|
@ -37,7 +37,6 @@ test "${#LOGGERS[@]}" -eq 0 && echo "error: no logger found in <dir>." && exit 1
|
||||||
LOCAL_IP="`ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/'`";
|
LOCAL_IP="`ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/'`";
|
||||||
|
|
||||||
test -z "$LOCAL_IP" && echo "error: cannot get local IP address." && exit 1;
|
test -z "$LOCAL_IP" && echo "error: cannot get local IP address." && exit 1;
|
||||||
LOCAL_IP="localhost";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue