typos: "interval" has a value, option->options

This commit is contained in:
sash-kan 2013-04-01 16:38:33 +04:00
parent f058366d9b
commit ec25336d6a
1 changed files with 3 additions and 3 deletions

View File

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