Bug fix: err() fatal errors now work. They didn't work due to bad regex.

This commit is contained in:
Elijah Perrault committed 2011-01-19 18:22:06 -07:00
1 parent 0791e61b68
commit cd78b37fc9
3 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -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;