mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
Merge pull request #31 from marek-knappe/application-quitting-colors-fix
Fixed ANSI color with Quitting message - closes #30
This commit is contained in:
2
scan.php
2
scan.php
@@ -94,7 +94,7 @@ class MalwareScanner
|
|||||||
{
|
{
|
||||||
echo $this->ANSI_RED . 'Error: ' . $msg . $this->ANSI_OFF . PHP_EOL;
|
echo $this->ANSI_RED . 'Error: ' . $msg . $this->ANSI_OFF . PHP_EOL;
|
||||||
$this->showHelp();
|
$this->showHelp();
|
||||||
echo PHP_EOL . $this->ANSI_RED . 'Quiting' . PHP_EOL;
|
echo PHP_EOL . $this->ANSI_RED . 'Quiting' . $this->ANSI_OFF . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Handles pattern loading and saving to the class object
|
//Handles pattern loading and saving to the class object
|
||||||
|
|||||||
Reference in New Issue
Block a user