Skip to content

Commit

Permalink
Do not allow reboots for passed preflights
Browse files Browse the repository at this point in the history
Preflights that passed wont need a reboot and this is causing an issue with cleanup/IAs runs.
  • Loading branch information
erikng authored Feb 20, 2019
1 parent bf4c5c3 commit 6441737
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,9 @@ def main():
iaslog('Preflight passed all checks. Skipping run.'
)
userid = str(getconsoleuser()[1])
# Do not allow a reboot for passed preflights
cleanup(iapath, ialdpath, ldidentifier, ialapath,
laidentifier, userid, reboot)
laidentifier, userid, False)
else:
iaslog('Preflight did not pass all checks. '
'Continuing run.')
Expand Down

0 comments on commit 6441737

Please sign in to comment.