提交 769df641 编写于 作者: S Steven Rostedt 提交者: Steven Rostedt

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: NSteven Rostedt <rostedt@goodmis.org>
上级 02ad2617
......@@ -1116,7 +1116,6 @@ sub reboot_to_good {
if (defined($switch_to_good)) {
run_command $switch_to_good;
return;
}
reboot $time;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册