From ec25336d6a1a0f276200e2ddc33f592fcf0ab530 Mon Sep 17 00:00:00 2001 From: sash-kan Date: Mon, 1 Apr 2013 16:38:33 +0400 Subject: [PATCH] typos: "interval" has a value, option->options --- update_daemon2.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update_daemon2.php b/update_daemon2.php index c87f0c10..2fbdd8b8 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -120,7 +120,7 @@ $longopts = array("log:", "tasks:", - "interval", + "interval:", "quiet", "help"); @@ -142,14 +142,14 @@ if (isset($options["tasks"])) { _debug("Set to spawn " . $options["tasks"] . " children."); - $max_jobs = $option["tasks"]; + $max_jobs = $options["tasks"]; } else { $max_jobs = MAX_JOBS; } if (isset($options["interval"])) { _debug("Spawn interval: " . $options["interval"] . " seconds."); - $spawn_interval = $option["interval"]; + $spawn_interval = $options["interval"]; } else { $spawn_interval = SPAWN_INTERVAL; } -- 2.39.5