]> git.wh0rd.org - tt-rss.git/commitdiff
Merge pull request #113 from sash-kan/patch-1
authorAndrew Dolgov <cthulhoo@gmail.com>
Mon, 1 Apr 2013 12:50:13 +0000 (05:50 -0700)
committerAndrew Dolgov <cthulhoo@gmail.com>
Mon, 1 Apr 2013 12:50:13 +0000 (05:50 -0700)
typos: "interval" has a value, option->options

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;
        }