ktest: Fix SWITCH_TO_GOOD to also reboot the machine
When the option SWITCH_TO_GOOD is set, it will be called when the system needs to reboot to the good server. But currently, this keeps the reboot from happening. The SWITCH_TO_GOOD is just a way to get to a new kernel, it may not mean to not reboot. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
02ad261704
commit
769df641cc
1 changed files with 0 additions and 1 deletions
|
@ -1116,7 +1116,6 @@ sub reboot_to_good {
|
|||
|
||||
if (defined($switch_to_good)) {
|
||||
run_command $switch_to_good;
|
||||
return;
|
||||
}
|
||||
|
||||
reboot $time;
|
||||
|
|
Loading…
Reference in a new issue