Commit f079a22a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Bad foreach loop using keys instead of values.

parent 0fc69237
......@@ -207,7 +207,7 @@ foreach (split("\n",&ir_get("/rpms"))) {
$sth->finish;
}
foreach (keys(%nodemap)) {
foreach (values(%nodemap)) {
$node = $_;
$sth = $dbh->prepare("UPDATE nodes set ready=0,startstatus = \"none\" ".
"where node_id = \"$node\"");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment