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

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

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