summaryrefslogtreecommitdiffstats
path: root/client.pl
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org>2013-09-16 20:37:04 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org>2013-09-16 20:37:04 +0200
commitb29a7dbc8fcef7ffb5ecb50f84b99d38d4c14b8b (patch)
tree399ba64b6b45cad36d206f5543bedfd4644a53f3 /client.pl
parent61b4c8dcf0479a510b856370b6964a61d7b6cab4 (diff)
downloaddistdns-b29a7dbc8fcef7ffb5ecb50f84b99d38d4c14b8b.tar.gz
distdns-b29a7dbc8fcef7ffb5ecb50f84b99d38d4c14b8b.tar.bz2
Use quotes in option processing error messages
Diffstat (limited to 'client.pl')
-rwxr-xr-xclient.pl4
1 files changed, 2 insertions, 2 deletions
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};