Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47f12834c1 |
@@ -85,7 +85,7 @@ type Config struct {
|
||||
|
||||
func ResolvePassword(password, passwordCmd string) (string, error) {
|
||||
if passwordCmd != "" {
|
||||
cmd := exec.Command("sh", "-c", passwordCmd)
|
||||
cmd := exec.Command("/bin/sh", "-c", passwordCmd)
|
||||
out, err := cmd.Output()
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("failed to run password command: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user