grahampugh / erase-install

A script that automates downloading macOS installers, and optionally erasing or upgrading macOS in a single process. Watch the video!
https://grahamrpugh.com/2023/05/14/macaduk-presentation-eraseinstall.html
Apache License 2.0
834 stars 131 forks source link

Question #478

Closed mrmte closed 6 months ago

mrmte commented 7 months ago

Describe the bug Hi, I’m working n a mechanism to detect with Jamf reporting which machine fail the process and have a question. I want to touch creating a file if it was interrupted or unsuccessful on an upgrade. Would I need to do this Line 2521 in the terminate function 143 or line 3514 where it exits with 42?

To Reproduce

Expected behavior A clear and concise description of what you expected to happen.

Code/log output Please supply the full command used, and if applicable, add full output from Terminal or from /var/log/erase-install.log. Don't post a partial log - I need the whole thing. Either upload the log as a file, or paste the output in a code block like this:

your log goes here between triple backticks! Make sure you remove any personal information!

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

grahampugh commented 6 months ago

Hi, this doesn't look like a bug. If you're after some support please use the Discussions section or post in the Mac Admins Slack #eraseinstall channel.

mrmte commented 6 months ago

I worked it out. Sorry forgot to close it