X-Git-Url: http://git.refcnt.org/?p=distdns.git;a=blobdiff_plain;f=client.pl;h=0563c5cf26602aba7054d500d40e83a45bffa973;hp=c83694c3381068668600e0250afb9828625cd3c2;hb=b29a7dbc8fcef7ffb5ecb50f84b99d38d4c14b8b;hpb=61b4c8dcf0479a510b856370b6964a61d7b6cab4 diff --git a/client.pl b/client.pl index c83694c..0563c5c 100755 --- a/client.pl +++ b/client.pl @@ -61,13 +61,13 @@ my $get_config_opts = sub { my ($section, $options) = @_; - _die "Section $section missing in $conf_file\n" unless exists $config->{$section}; + _die "Section '$section' missing in $conf_file\n" unless exists $config->{$section}; my %options; @options{@$options} = @{$config->{$section}}{@$options}; foreach my $option (@$options) { - _die "Option $option not set in $conf_file\n" unless defined $options{$option} && length $options{$option}; + _die "Option '$option' not set in $conf_file\n" unless defined $options{$option} && length $options{$option}; } return @options{@$options};