1
0
Fork 0

[create-project] If process terminated with SIGINT then 130 IMO will be returned. Remove unused variable

pull/4133/head
Barys Biankouski 2015-06-11 19:50:52 +03:00
parent 38bc4e6a78
commit a59c46f781
1 changed files with 1 additions and 2 deletions

View File

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