From: Steinar H. Gunderson Date: Sun, 9 Apr 2006 19:44:14 +0000 (+0000) Subject: Fix a typo. X-Git-Url: https://git.sesse.net/?p=nms;a=commitdiff_plain;h=497d2e20d6cbfb495166b59f0e3c9d019524ea95 Fix a typo. --- diff --git a/config/make-missing-zones.pl b/config/make-missing-zones.pl index 060a0c4..b809398 100755 --- a/config/make-missing-zones.pl +++ b/config/make-missing-zones.pl @@ -22,11 +22,11 @@ for my $net (keys %netnames) { } for my $d (@domains) { - -f "/etc/bind/dynamic/$domain.tg06.gathering.org" and next; + -f "/etc/bind/dynamic/$d.tg06.gathering.org" and next; - print "/etc/bind/dynamic/$domain.tg06.gathering.org\n"; - open ZONE, ">/etc/bind/dynamic/$domain.tg06.gathering.org" - or die "/etc/bind/dynamic/$domain.tg06.gathering.org"; + print "/etc/bind/dynamic/$d.tg06.gathering.org\n"; + open ZONE, ">/etc/bind/dynamic/$d.tg06.gathering.org" + or die "/etc/bind/dynamic/$d.tg06.gathering.org"; print ZONE <<"EOF"; ; autogenerated and updated from dhcpd -- DO NOT TOUCH!