Simply check if sanity check file should be generated based on nil input

This commit is contained in:
2026-01-01 21:28:35 -05:00
parent 28286788a0
commit a18c3ea1d6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ func LibmuttonInit(inputCB func(prompt string) string, clientSpecificCfg map[str
}
}
// generate rcw sanity check file (if requested)
if len(rcwPassword) > 0 {
if rcwPassword != nil {
err := RCWSanityCheckGen(rcwPassword)
if err != nil {
return err