Fix negated boolean in resolvconf check
This commit is contained in:
parent
ceb657d237
commit
7b0bdd16d0
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ wait_for_resolvconf () {
|
|||
fi
|
||||
|
||||
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
|
||||
sleep 1
|
||||
wait_for_resolvconf
|
||||
|
|
Loading…
Reference in a new issue