diff -r 7c94598b7649 -r c47953192c5c bin/zone-ls --- 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}/*") {