From dc1708fecdc7be2ee646b7f235f4d678c8542dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Grenier?= Date: Mon, 9 Jul 2018 21:06:05 -0300 Subject: [PATCH] [fix] typo? script not crash anymore with unexpected '&' --- src/reload-certs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");