|
@@ -293,11 +293,10 @@ EOT
|
|
|
// handler Ctrl+C for unix-like systems
|
|
|
if (function_exists('pcntl_signal')) {
|
|
|
declare(ticks = 100);
|
|
|
- $isPcntlHandler = true;
|
|
|
pcntl_signal(SIGINT, function() use ($directory) {
|
|
|
$fs = new Filesystem();
|
|
|
$fs->removeDirectory($directory);
|
|
|
- exit();
|
|
|
+ exit(130);
|
|
|
});
|
|
|
}
|
|
|
|