[master 2/3] After 17233a16, vncS is no longer a global.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 anaconda |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/anaconda b/anaconda
index fd62b45..94d6306 100755
--- a/anaconda
+++ b/anaconda
@@ -278,8 +278,7 @@ def expandFTPMethod(str):
     except:
         return None
 
-def runVNC():
-    global vncS
+def runVNC(vncS):
     vncS.startServer()
 
     child = os.fork()
@@ -625,7 +624,7 @@ def setupDisplay(anaconda, opts):
 
         # if they want us to use VNC do that now
         if anaconda.displayMode == 'g' and flags.usevnc:
-            runVNC()
+            runVNC(vncS)
             doStartupX11Actions()
 
         # with X running we can initialize the UI interface
-- 
1.7.3.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux