diff options
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index bfcbecf..5736678 100644 --- a/config/config.go +++ b/config/config.go @@ -204,6 +204,7 @@ func parseCredential(cred, command string) (string, error) { } cmd := exec.Command("sh", "-c", command) + cmd.Stdin = os.Stdin output, err := cmd.Output() if err != nil { return "", fmt.Errorf("failed to read password: %s", err) |