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

This commit is contained in:
RandyTheSilly committed 2026-01-01 21:28:35 -05:00
1 parent 28286788a0
commit a18c3ea1d6
2 files changed
+2 -2

No files matched your search

+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