Skip to content

Commit

Permalink
Ignore need_reboot_check_second if on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Dec 5, 2023
1 parent 5e60bc8 commit ac4bd0a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usr/bin/dist-installer-cli
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,11 @@ need_reboot_check_second() {
return 0
fi

if test "${ci}" = "1"; then
true "INFO: Ignore need_reboot_check_second because running on CI."
return 0
fi

die 1 "${underline}Reboot Check Result:${nounderline} Your system reports that a reboot is required.
Please reboot your system and restart this installer.
Expand Down

0 comments on commit ac4bd0a

Please sign in to comment.