]> git.entuzijast.net Git - imunes.git/commitdiff
The GUI was failing to start due to the following error:
authormarko <marko>
Fri, 7 Apr 2006 14:14:06 +0000 (14:14 +0000)
committermarko <marko>
Fri, 7 Apr 2006 14:14:06 +0000 (14:14 +0000)
Error in startup script: can't read "execSock": no such variable

This change provides a temporary fix.

NOTE: experiment execution still does not work.

Bug found by:
Submitted by: Zrinka
Requested by:
Reviewed by:
Approved by:
Obtained from:

exec.tcl

index 644c8621a57bf7c9bc023496385221d6b22168b6..38740f5d63d708b2ca24409e41274fed24651b58 100755 (executable)
--- a/exec.tcl
+++ b/exec.tcl
@@ -34,7 +34,6 @@
 #
 
 
-
 #****f* exec.tcl/nexec
 # NAME
 #   nexec -- execute program
@@ -1118,7 +1117,7 @@ proc remoteStart {} {
 proc remoteClose { } {
     global execSock monSock remote_exec mpid epid 
 
-    if { $remote_exec }  {
+    if { $remote_exec && [info exists execSock] }  {
        set execSock [close_sock $execSock]
        set monSock [close_sock $monSock]
        if { [info exists mpid] && ($mpid != "") } {