Bug fix: err() fatal errors now work. They didn't work due to bad regex.
This commit is contained in:
1 parent
0791e61b68
commit
cd78b37fc9
3 files changed
+5
-2
No files matched your search
@@ -92,7 +92,8 @@ foreach my $REQCVAL (@REQCVALS) {
|
||||
if ($REQCVAL eq "expire_logs") {
|
||||
$err = 1;
|
||||
}
|
||||
err($err, "Missing required configuration value: $REQCVAL", 1);
|
||||
print "Failed.\n";
|
||||
err($err, "Missing required configuration value: $REQCVAL", 1) or print ".\n" and exit;
|
||||
}
|
||||
}
|
||||
undef @REQCVALS;
|
||||
|
||||
Reference in new issue
Block a user