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

[Bug] SSM Agent can not be installed on Windows with $PSCulture = "de-DE" #604

Open
qoomon opened this issue Dec 6, 2024 · 1 comment · May be fixed by #606
Open

[Bug] SSM Agent can not be installed on Windows with $PSCulture = "de-DE" #604

qoomon opened this issue Dec 6, 2024 · 1 comment · May be fixed by #606

Comments

@qoomon
Copy link

qoomon commented Dec 6, 2024

Because of checking against the output of windows service manager, following checks will not match and therfore start and stop will always fail.

if strings.Contains(output, "service has already been started") {

if strings.Contains(output, "service is not started") {

@qoomon qoomon changed the title SSM Agent can not be installed on Windows with $PSCulture = "de-DE" [Bug] SSM Agent can not be installed on Windows with $PSCulture = "de-DE" Dec 6, 2024
@qoomon
Copy link
Author

qoomon commented Dec 6, 2024

I think the error code to check should be 2 in both cases

qoomon added a commit to qoomon/amazon-ssm-agent that referenced this issue Dec 6, 2024
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 a pull request may close this issue.

1 participant