When pid is undefined, meaning we didn't find gotpid, print gotpid,
not pid.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 sg-execute-flight | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sg-execute-flight b/sg-execute-flight
index 4e3fcf2..fd98291 100755
--- a/sg-execute-flight
+++ b/sg-execute-flight
@@ -167,7 +167,7 @@ proc main_iteration {} {
         incr ix
     }
     if {![info exists pid]} {
-        log "unexpected child \[$pid\] $how $st"
+        log "unexpected child \[$gotpid\] $how $st"
         return
     }
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to