Skip to content

Commit

Permalink
WIP: test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jkonecny12 committed Oct 18, 2024
1 parent 9ef1d02 commit 2ca7f3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion anaconda.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def exitHandler(rebootData):
else: # reboot action is KS_REBOOT or None
util.execWithRedirect("systemctl", ["--no-wall", "reboot"], do_preexec=False)

print("End of atexit!", file=sys.stderr)


def parse_arguments(argv=None, boot_cmdline=None):
"""Parse command line/boot options and arguments.
Expand Down Expand Up @@ -296,7 +298,7 @@ def terminate(num, frame):
# process so let's suppress this to avoid issues.
sys.exit(1)
except Exception as ex:
print("Error raised when terminating Anaconda: \n %s", ex)
print("Error raised when terminating Anaconda: \n %s", ex, file=sys.stderr)

# reset python's default SIGINT handler
signal.signal(signal.SIGINT, signal.SIG_IGN)
Expand Down

0 comments on commit 2ca7f3c

Please sign in to comment.