diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 9d68a2c47..9c40894bd 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -2036,7 +2036,7 @@ sub process_request { my $callback = shift; eval { require SNMP; - } + }; if ($@) { $callback->{error=>['Missing SNMP perl support'],errorcode=>[1]}; return;