From 78363b3456ed0b6be1ea43d6cec884fa97dc7611 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 11 Nov 2008 15:42:04 +0000 Subject: [PATCH] -Fix problem where an error went to stdout instead of stderr git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index ae7c77e78..eb6d8491b 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -708,11 +708,11 @@ sub plugin_command { $queuelist =~ s/:/./g; foreach (keys %unhandled_nodes) { if ($sock) { - print $sock XMLout({node=>[{name=>[$_],data=>["Unable to identify plugin for this command, check relevant tables: $queuelist"],errorcode=>[1]}]},NoAttr=>1,RootName=>'xcatresponse'); + print $sock XMLout({node=>[{name=>[$_],error=>["Unable to identify plugin for this command, check relevant tables: $queuelist"],errorcode=>[1]}]},NoAttr=>1,RootName=>'xcatresponse'); } else { my $tabdesc = $queuelist; $tabdesc =~ s/=.*$//; - $callback->({node=>[{name=>[$_],data=>['Unable to identify plugin for this command, check relevant tables: '.$tabdesc],errorcode=>[1]}]}); + $callback->({node=>[{name=>[$_],error=>['Unable to identify plugin for this command, check relevant tables: '.$tabdesc],errorcode=>[1]}]}); } } }