From 7b0bdd16d09d7409caa3d29cc7fa504179e31cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Fri, 24 Jan 2020 11:53:29 +0100 Subject: [PATCH] Fix negated boolean in resolvconf check --- bin/uncloud-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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