bin/zone-ls
branchhs12
changeset 85 c47953192c5c
parent 77 35905799cfd1
child 95 cb92affcf59f
--- a/bin/zone-ls	Sun Jan 16 17:28:48 2011 +0100
+++ b/bin/zone-ls	Sun Jan 16 17:29:01 2011 +0100
@@ -5,7 +5,6 @@
 use warnings;
 use Pod::Usage;
 use File::Basename;
-use FindBin;
 use Time::Local;
 use Getopt::Long;
 use if $ENV{DEBUG} => "Smart::Comments";
@@ -29,7 +28,7 @@
         },
     ) or pod2usage;
 
-    %config = get_config("$FindBin::Bin/dnstools.conf", "/etc/dnstools.conf");
+    %config = get_config();
     die "$config{master_dir}: $!\n" if not -d $config{master_dir};
 
     foreach my $dir (grep { -d } glob "$config{master_dir}/*") {