From 318d3ece5b0e41343ded986d87a7c04251a5cad6 Mon Sep 17 00:00:00 2001 From: nott Date: Tue, 29 Jan 2008 13:17:35 +0000 Subject: [PATCH] Minor message cleanup. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm index 2efdccfc7..27d3c6264 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/DBobjectdefs.pm @@ -402,8 +402,11 @@ sub processArgs # make the default type = 'node' if not specified push(@::clobjtypes, 'node'); my $rsp; - $rsp->{data}->[0] = "Assuming an object type of \'node\'.\n"; - xCAT::MsgUtils->message("I", $rsp, $::callback); + if ( !$::opt_z && !$::opt_x) { + # don't want this msg in stanza or xml output + $rsp->{data}->[0] = "Assuming an object type of \'node\'.\n"; + xCAT::MsgUtils->message("I", $rsp, $::callback); + } } # if user specifies "-t" & "-h" they want valid type or attrs info