mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 03:10:09 +02:00
@@ -212,6 +212,12 @@ if ($AC['file']) {
|
||||
|
||||
if ($AC['dry']) $reporter->makeDry();
|
||||
|
||||
$test->run($reporter);
|
||||
$result = $test->run($reporter);
|
||||
|
||||
if ($result) {
|
||||
exit(0); // Success!
|
||||
} else {
|
||||
exit(1); // Abject failure.
|
||||
}
|
||||
|
||||
// vim: et sw=4 sts=4
|
||||
|
Reference in New Issue
Block a user