Skip to content

Conversation

@gregnorth
Copy link
Contributor

On centos 7.2, line 22 ends up wiping out the passed in param which always results in this output: Usage: /etc/init.d/codedeploy-agent {start|stop|status|restart}. Assigning it to a variable prior and using it in the switch statement get this working properly.

On centos 7.2, line 22 ends up wiping out the passed in param which always results in this output: `Usage: /etc/init.d/codedeploy-agent {start|stop|status|restart}`. Assigning it to a variable prior and using it in the switch statement get this working properly.
@joshmcfarlane
Copy link

Please confirm this contribution is under the terms of the Apache 2.0 license. Thanks!

@Jmcfar Jmcfar added the bug label Feb 8, 2016
@gregnorth
Copy link
Contributor Author

@joshmcfarlane I reviewed the license and as far as I can tell, it does.

Jmcfar added a commit that referenced this pull request Feb 12, 2016
Assigning init.d script param to a variable
@Jmcfar Jmcfar merged commit 15e3af3 into aws:master Feb 12, 2016
@Jmcfar
Copy link
Contributor

Jmcfar commented Feb 12, 2016

Merged. Thanks for the pull request! This will go out with our next agent update.

@feverLu
Copy link
Contributor

feverLu commented Apr 13, 2016

The change has been released in version 1.0-1.934: https://github.com/aws/aws-codedeploy-agent/releases/tag/v1.0-1.934

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants