diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index d2a870000..f5e658be1 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -2537,7 +2537,7 @@ sub defls { # don't print unless set - if (defined($attrval)) + if ( (defined($attrval)) && ($attrval ne '') ) { my $rsp; $rsp->{data}->[0] =