diff --git a/xCAT-server/lib/xcat/plugins/xnba.pm b/xCAT-server/lib/xcat/plugins/xnba.pm index 0b2e633ce..e5e0f0cb1 100644 --- a/xCAT-server/lib/xcat/plugins/xnba.pm +++ b/xCAT-server/lib/xcat/plugins/xnba.pm @@ -510,8 +510,8 @@ sub process_request { $callback->(\%response); } if($args[0] eq 'offline') { - unlink($tftpdir."/xcat/xnba/nodes/".$node); - unlink($tftpdir."/xcat/xnba/nodes/".$node.".pxelinux"); + unlink($tftpdir."/xcat/xnba/nodes/".$_); + unlink($tftpdir."/xcat/xnba/nodes/".$_.".pxelinux"); } } }