diff --git a/bin/uncloud-init b/bin/uncloud-init index 21c3988..4fcc2d2 100755 --- a/bin/uncloud-init +++ b/bin/uncloud-init @@ -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