diff --git a/cluster-software/cluster-software-lib.pl b/cluster-software/cluster-software-lib.pl index ea3cda614..1ad11eb0b 100644 --- a/cluster-software/cluster-software-lib.pl +++ b/cluster-software/cluster-software-lib.pl @@ -66,8 +66,8 @@ delete($h{'packages'}); # delete_software_host(&host) sub delete_software_host { -&delete_file("$module_config_directory/hosts/$_[0]->{'id'}.host"); -&delete_file("$module_config_directory/hosts/$_[0]->{'id'}"); +&unlink_file("$module_config_directory/hosts/$_[0]->{'id'}.host"); +&unlink_file("$module_config_directory/hosts/$_[0]->{'id'}"); } # list_servers()