From b129bf5487afa3aa7e3285122ad512d7b8d2e085 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 21 Oct 2016 17:42:28 -0700 Subject: [PATCH] don't wait for `dnf system-upgrade reboot` command to return because it won't. --- tests/upgrade_run.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/upgrade_run.pm b/tests/upgrade_run.pm index acbc916a..bab0b15f 100644 --- a/tests/upgrade_run.pm +++ b/tests/upgrade_run.pm @@ -19,7 +19,7 @@ sub run { upload_logs "/var/log/dnf.log"; upload_logs "/var/log/dnf.rpm.log"; - script_run "dnf system-upgrade reboot"; + script_run "dnf system-upgrade reboot", 0; # fail immediately if we see a DNF error message die "DNF reported failure" if (check_screen "upgrade_fail", 15); if (get_var("ENCRYPT_PASSWORD")) {