Commit 9c74c19a authored by Mike Hibler's avatar Mike Hibler

Replace an exec of the perl os_select script with a call to the OSSelect().

parent 5a2810f2
......@@ -1139,12 +1139,10 @@ sub handleCtrlEvent($$) {
next;
};
/^$TBRESET$/ && do {
#
# Clear next_boot_path with os_select.
#
$cmd = "$osselect -d -c -1 $node";
system($cmd) and
# Clear next_boot_path.
if ($nodeobj->OSSelect(undef, "next_boot_osid", 1) != 0) {
notify("$node/$event: Could not clear next_boot_path!\n");
}
info("Performed $TBRESET for $node\n");
next;
......
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