Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call sys.exit() instead of exit() #33993

Merged
merged 1 commit into from
Jun 14, 2016
Merged

Conversation

s0undt3ch
Copy link
Collaborator

What does this PR do?

Calls sys.exit() instead of exit()

This will prevent an error with running a frozen(Using PyInstaller) version of salt:

Process SignalHandlingMultiprocessingProcess-1:3:
Traceback (most recent call last):
  File "multiprocessing/process.py", line 258, in _bootstrap
  File "site-packages/salt/utils/process.py", line 613, in _run
  File "multiprocessing/process.py", line 114, in run
  File "site-packages/salt/utils/schedule.py", line 791, in handle_func
NameError: global name 'exit' is not defined

@cachedout cachedout merged commit 26fee37 into saltstack:2016.3 Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants