Fix yet another typo in resolvconf check

This commit is contained in:
fnux 2020-01-24 13:38:09 +01:00
parent 2649e1f727
commit 3d2aaaf517
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ wait_for_resolvconf () {
echo "Waiting for resolv.conf to be populated..."
if [ -f '/etc/resolv.conf' ]; then
if [ "$(wc -l < resolv.conf)" = "0" ]; then
if [ "$(wc -l < /etc/resolv.conf)" = "0" ]; then
sleep 1
wait_for_resolvconf
else