Fix yet another typo in resolvconf check
This commit is contained in:
parent
2649e1f727
commit
3d2aaaf517
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ wait_for_resolvconf () {
|
||||||
|
|
||||||
echo "Waiting for resolv.conf to be populated..."
|
echo "Waiting for resolv.conf to be populated..."
|
||||||
if [ -f '/etc/resolv.conf' ]; then
|
if [ -f '/etc/resolv.conf' ]; then
|
||||||
if [ "$(wc -l < resolv.conf)" = "0" ]; then
|
if [ "$(wc -l < /etc/resolv.conf)" = "0" ]; then
|
||||||
sleep 1
|
sleep 1
|
||||||
wait_for_resolvconf
|
wait_for_resolvconf
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue