-
-
Notifications
You must be signed in to change notification settings - Fork 746
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
Change shebang line to #!/usr/bin/env python #6042
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ZoeLeah Thanks for the fix 👍 Appreciate the contribution.
The CI is happy, the PR just needs a better changelog, otherwise looks good!
Because it's a bugfix, I'm thinking we can plan to include it in the upcoming |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fix issue #5983 with actions that are executed remotely on the server, for example linux.service or linux.check_processes.
The following error message was returned:
/opt/stackstorm/st2/bin/python: bad interpreter: No such file or directory
Change the shebang line
#!/opt/stackstorm/st2/bin/python
to#!/usr/bin/env python
.It was also changed
#!/usr/bin/python
to#!/usr/bin/env python
to have it consistent