1 Commits
0.0.7 ... 0.0.8

Author SHA1 Message Date
Lennart J. Kurzweg (Nx2)
47f12834c1 hardcode sh 2026-04-23 18:04:34 +02:00

View File

@@ -85,7 +85,7 @@ type Config struct {
func ResolvePassword(password, passwordCmd string) (string, error) { func ResolvePassword(password, passwordCmd string) (string, error) {
if passwordCmd != "" { if passwordCmd != "" {
cmd := exec.Command("sh", "-c", passwordCmd) cmd := exec.Command("/bin/sh", "-c", passwordCmd)
out, err := cmd.Output() out, err := cmd.Output()
if err != nil { if err != nil {
return "", fmt.Errorf("failed to run password command: %v", err) return "", fmt.Errorf("failed to run password command: %v", err)