diff --git a/bin/uncloud-init b/bin/uncloud-init index 18b8edc..27f6462 100755 --- a/bin/uncloud-init +++ b/bin/uncloud-init @@ -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