From daf319a4027329023bc70db207c0884fabd37253 Mon Sep 17 00:00:00 2001 From: mellor Date: Mon, 18 Feb 2013 20:30:37 +0000 Subject: [PATCH] defect 3376 - need to load XCATSITEVAL global in upd listener process git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 941b0af02..785849550 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -548,7 +548,11 @@ sleep 0.05; xCAT::MsgUtils->message("S","xcatd: Something absolutely ludicrous happpened, xCAT developers think this message is impossible to see, post if you see it, fork bomb averted"); exit(1); } - until ($select->can_read(5)) { if ($quit) { last; }; yield; } #Wait for data + until ($select->can_read(5)) { #Wait for data + if ($quit) { last; }; + populate_site_hash(); + yield; + } while ($select->can_read(0)) { #Pull all buffer data that can be pulled $part = $socket->recv($data,1500); ($sport,$client) = sockaddr_in($part);