fix "PHP Fatal error: Cannot pass parameter 2 by reference in doc/rpm-build/post_install.php on line 389"

This commit is contained in:
Ralf Becker 2012-04-04 06:36:09 +00:00
parent 5044856b44
commit 369135bf37

View File

@ -386,7 +386,8 @@ else
fix_perms();
// restart running Apache, to force APC to update changed sources and/or Apache configuration
run_cmd($config['start_webserver'].' status && '.$config['start_webserver'].' restart', null, true);
$output = array();
run_cmd($config['start_webserver'].' status && '.$config['start_webserver'].' restart', $output, true);
exit($ret);
}