diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 6e85973984683d05129afb7618c43d1be493af3a..08a875fa4251fa761b6f3d80e6a65c0549760c42 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -561,7 +561,7 @@ sub wait_for_input sub reboot_to { if ($reboot_type eq "grub") { - run_command "$ssh_exec '(echo \"savedefault --default=$grub_number --once\" | grub --batch; reboot)'"; + run_ssh "'(echo \"savedefault --default=$grub_number --once\" | grub --batch; reboot)'"; return; }