diff --git a/xCAT-server/lib/xcat/plugins/bind.pm b/xCAT-server/lib/xcat/plugins/bind.pm index 00a46c98c..1a54f4828 100755 --- a/xCAT-server/lib/xcat/plugins/bind.pm +++ b/xCAT-server/lib/xcat/plugins/bind.pm @@ -915,8 +915,6 @@ sub FIXUP my $nothing; open($nothing, ">>", $DBDir . "db.cache"); } - my $nothing; - open($nothing, ">>", $DBDir . "db.cache"); close($nothing); printf $file "%-30s\tIN PTR localhost.\n", &REVERSE("127.0.0.1"); close($file);