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