don't wait for dnf system-upgrade reboot command to return

because it won't.
This commit is contained in:
Adam Williamson 2016-10-21 17:42:28 -07:00
parent f95e1d55a8
commit b129bf5487

View File

@ -19,7 +19,7 @@ sub run {
upload_logs "/var/log/dnf.log"; upload_logs "/var/log/dnf.log";
upload_logs "/var/log/dnf.rpm.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 # fail immediately if we see a DNF error message
die "DNF reported failure" if (check_screen "upgrade_fail", 15); die "DNF reported failure" if (check_screen "upgrade_fail", 15);
if (get_var("ENCRYPT_PASSWORD")) { if (get_var("ENCRYPT_PASSWORD")) {