From: Michael Date: Thu, 14 Dec 2017 16:41:56 +0000 (+0000) Subject: Spawn now spawns X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5417099f72c64bc12a32bb9165b4b8873836dd8e;p=friendica.git Spawn now spawns --- diff --git a/scripts/worker.php b/scripts/worker.php index c216dbbcc8..a3738038b1 100755 --- a/scripts/worker.php +++ b/scripts/worker.php @@ -44,7 +44,7 @@ $a->set_baseurl(Config::get('system', 'url')); load_hooks(); -$spawn = (($_SERVER["argc"] <= 1) || ($_SERVER["argv"][1] == "spawn")); +$spawn = (($_SERVER["argc"] == 2) && ($_SERVER["argv"][1] == "spawn")); if ($spawn) { Worker::spawnWorker();