Have config.pl return non-zero rather than warn

This commit is contained in:
Manuel Pégourié-Gonnard 2015-06-03 10:49:38 +01:00
parent 7ee5ddd798
commit a14cbb6141

View file

@ -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__