write to stderr so its clear when the credential helper is running

This commit is contained in:
Rick Olson 2015-08-04 09:27:31 -06:00
parent e01eff6f16
commit 087542a523

@ -48,6 +48,7 @@ func fill() {
os.Exit(1)
}
fmt.Fprintf(os.Stderr, "CREDS RECV: %s\n", line)
creds[parts[0]] = strings.TrimSpace(parts[1])
}
@ -70,6 +71,7 @@ func fill() {
}
for key, value := range creds {
fmt.Fprintf(os.Stderr, "CREDS SEND: %s=%s\n", key, value)
fmt.Fprintf(os.Stdout, "%s=%s\n", key, value)
}
}