diff --git a/src/reload-certs b/src/reload-certs index 33007382..473e5c61 100644 --- a/src/reload-certs +++ b/src/reload-certs @@ -30,7 +30,7 @@ $ssl->cron_new_certs(); $services=array("postfix","dovecot","proftpd","apache2"); foreach($services as $service) { - passthru("service $service status",&$ret); + passthru("service $service status",$ret); if ($ret!=0) { echo "$service not running, restarting\n"; passthru("service $service restart");