Have config.pl return non-zero rather than warn
This commit is contained in:
parent
7ee5ddd798
commit
a14cbb6141
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ for my $line (@config_lines) {
|
||||||
|
|
||||||
close $config_write;
|
close $config_write;
|
||||||
|
|
||||||
warn "configuration section not found" if ($action eq "full" && !$done);
|
die "configuration section not found" if ($action eq "full" && !$done);
|
||||||
warn "$name not found" if ($action ne "full" && !$done);
|
die "$name not found" if ($action ne "full" && !$done);
|
||||||
|
|
||||||
__END__
|
__END__
|
||||||
|
|
Loading…
Reference in a new issue