aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4989370..24f16bd 100644
--- a/main.go
+++ b/main.go
@@ -2,6 +2,7 @@ package main
import (
"fmt"
+ "log"
"os"
"path/filepath"
"runtime"
@@ -89,7 +90,7 @@ func changePassword(args *argContainer) {
exitcodes.Exit(err)
}
if len(masterkey) == 0 {
- panic("empty masterkey")
+ log.Panic("empty masterkey")
}
tlog.Info.Println("Please enter your new password.")
newPw := readpassword.Twice(args.extpass)