]> git.wh0rd.org Git - tt-rss.git/commitdiff
typos: "interval" has a value, option->options
authorsash-kan <alex@barak.in>
Mon, 1 Apr 2013 12:38:33 +0000 (16:38 +0400)
committersash-kan <alex@barak.in>
Mon, 1 Apr 2013 12:38:33 +0000 (16:38 +0400)
update_daemon2.php

index c87f0c10a60adcf7a69df11dd24ddb09756a4616..2fbdd8b8cde7db3b68be98c91ce6fe812d967b93 100755 (executable)
 
        $longopts = array("log:",
                        "tasks:",
-                       "interval",
+                       "interval:",
                        "quiet",
                        "help");
 
 
        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;
        }