Masato Taruishi
taru****@users*****
2004年 9月 13日 (月) 13:35:20 JST
=================================================================== RCS file: demo/haviewer/lib/haviewer/ultrapossum.rb,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- demo/haviewer/lib/haviewer/ultrapossum.rb 2004/09/13 04:10:13 1.4 +++ demo/haviewer/lib/haviewer/ultrapossum.rb 2004/09/13 04:35:20 1.5 @@ -144,7 +144,6 @@ Conf["SLAVES"].split(' ').each do |s| host = UltraPossumHost.new(s,"slave") if hash[s].nil? - @row[host] =****@list***** UltraPossumHosts << host Hosts << host hash[s] = host @@ -257,18 +256,19 @@ pw[1].close rescue end - @glade["entry_update_error_label"].set_text(pe[0].gets) + @glade["entry_update_error_label"].set_text("#{pe[0].gets}") pe[0].close Process.waitpid(pid) if $? != 0 @glade["entry_update_error"].show if $? != 0 - end - UltraPossumHost.update_latest_entryCSN - UltraPossumHosts.each do |host| - # host.monitor_entry - host.repl_sign.off - host.entryCSN = "" - update(host) + else + UltraPossumHost.update_latest_entryCSN + UltraPossumHosts.each do |host| + # host.monitor_entry + host.repl_sign.off + host.entryCSN = "" + update(host) + end end end