diff options
author | Jakob Unterwurzacher | 2024-12-04 19:07:10 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2024-12-04 19:07:10 +0100 |
commit | 634a450d781d3430bb63362ee75cfa1d9a840f6f (patch) | |
tree | 682f0e605f4b099b6de34e354ea95bc6a5e2ed06 /main.go | |
parent | 11f338f74fffc94bf16cea834aafccda30bd1240 (diff) |
changePassword: drop useless cast
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ func changePassword(args *argContainer) { os.Exit(exitcodes.Usage) } tlog.Info.Println("Please enter your new password.") - newPw, err := readpassword.Twice([]string(args.extpass), []string(args.passfile)) + newPw, err := readpassword.Twice(args.extpass, args.passfile) if err != nil { tlog.Fatal.Println(err) os.Exit(exitcodes.ReadPassword) |