Commit d7096348 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fixes and tweaks.

parent 77ae7463
......@@ -297,10 +297,11 @@ EOT
Debug("Would idleswap $pid,$eid\n");
}
else {
Notify("Starting idleswap of $pid/$pid\n");
Notify("Starting idleswap of $pid/$eid\n");
system("$TB/sbin/idleswap -r -i $pid,$eid > /dev/null") &&
Notify("Problem idleswapping $pid/$eid: $!\n");
if (system("$TB/sbin/idleswap -r -i $pid,$eid > /dev/null")) {
Notify("Problem idleswapping $pid/$eid\n");
}
}
}
......@@ -327,10 +328,11 @@ EOT
Debug("Would autoswap $pid,$eid\n");
}
else {
Notify("Starting autoswap of $pid/$pid");
Notify("Starting autoswap of $pid/$eid");
system("$TB/sbin/idleswap -r -a $pid,$eid > /dev/null") &&
Notify("Problem autoswapping $pid/$eid: $!\n");
if (system("$TB/sbin/idleswap -r -a $pid,$eid > /dev/null")) {
Notify("Problem autoswapping $pid/$eid\n");
}
}
}
......
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