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

Improve upstart.tpl shell script syntax #3752

Merged
merged 1 commit into from Jul 4, 2018

Conversation

PeterDaveHello
Copy link
Contributor

This pull request improves upstart.tpl shell script syntax including:

    - Use spaces instead of tab for indent
    - Replace deprecated `command` with $(command)
    - Add missing quote to variable reference
    - Separate variable declaration and assign to avoid masking return values

This is my first pull request to pm2, please let me know if there is anything I missed that should be fixed, many thanks!

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

- Use spaces instead of tab for indent
- Replace deprecated `command` with $(command)
- Add missing quote to variable reference
- Separate variable declaration and assign to avoid masking return values
@CLAassistant
Copy link

CLAassistant commented Jul 2, 2018

CLA assistant check
All committers have signed the CLA.

@wallet77 wallet77 merged commit d4e66e3 into Unitech:development Jul 4, 2018
@PeterDaveHello PeterDaveHello deleted the upstart.tpl branch July 4, 2018 14:15
inerc pushed a commit to inerc/pm2 that referenced this pull request Feb 11, 2020
Improve upstart.tpl shell script syntax
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

3 participants