Skip to content

Commit

Permalink
ensure newlines are added to custom windows agent environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonWAffel committed Dec 18, 2024
1 parent 966420b commit 6f0e442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/capr/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func WindowsInstallScript(ctx context.Context, token string, envVars []corev1.En
if envVar.Value == "" {
continue
}
envVarBuf.WriteString(capr.FormatWindowsEnvVar(envVar, false))
envVarBuf.WriteString(capr.FormatWindowsEnvVar(envVar, false) + "\n")
}
server := ""
if settings.ServerURL.Get() != "" {
Expand Down

0 comments on commit 6f0e442

Please sign in to comment.