aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index bb4c4e2..469f5a0 100644
--- a/main.go
+++ b/main.go
@@ -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)