diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 5cd2a1ee6..5943ea7ef 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -653,10 +653,6 @@ sub processArgs # must have object name(s) - if ((scalar(@::clobjnames) == 0) && (scalar(@::fileobjnames) == 0)) { - my $rsp; - $rsp->{data}->[0] = - "Could not determine what object definitions to remove.\n"; - xCAT::MsgUtils->message("E", $rsp, $::callback); return 3; } diff --git a/xCAT-server/lib/xcat/plugins/xcat2nim.pm b/xCAT-server/lib/xcat/plugins/xcat2nim.pm index 03b2b2de7..d4e2c3e61 100644 --- a/xCAT-server/lib/xcat/plugins/xcat2nim.pm +++ b/xCAT-server/lib/xcat/plugins/xcat2nim.pm @@ -576,10 +576,6 @@ sub processArgs # must have object name(s) - if (!@::clobjnames) { - my $rsp; - $rsp->{data}->[0] = - "$::msgstr Could not determine what object definitions to remove.\n"; - xCAT::MsgUtils->message("E", $rsp, $::callback); return 3; }