Prevent a race when NM becomes connected between the two checks.
---
anaconda | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anaconda b/anaconda
index ac90d72..6d5c3f6 100755
--- a/anaconda
+++ b/anaconda
@@ -480,7 +480,7 @@ def setupDisplay(anaconda, opts, addon_paths=None):
flags.vncquestion = False
# disable VNC question if we don't have network
- if not nm_is_connected() and not nm_is_connecting():
+ if not nm_is_connecting() and not nm_is_connected():
stdoutLog.warning("Not asking for VNC because we don't have a
network")
flags.vncquestion = False
--
1.7.11.7