Skip to content
Snippets Groups Projects
Commit d64c20b1 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #22639 from owncloud/dont-show-pcntl-warning

Don't show PCNTL warning if --no-warnings is passed
parents 32f4bea0 4f60ee90
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ try {
exit(1);
}
if (!function_exists('pcntl_signal')) {
if (!function_exists('pcntl_signal') && !in_array('--no-warnings', $argv)) {
echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php" . PHP_EOL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment