Allow not re-prompting for the RCW passphrase

This commit is contained in:
2025-05-12 21:00:11 -04:00
parent 162e277ad2
commit 26db43eb29
+4
View File
@@ -13,6 +13,7 @@ import (
)
var Daemonize = true
var RetryPassphrase = true
// RCWDArgument reads the passphrase from stdin and caches it via an RCW daemon.
func RCWDArgument() {
@@ -72,6 +73,9 @@ func launchRCWDProcess() []byte {
break
}
fmt.Println(back.AnsiError + "Incorrect passphrase" + back.AnsiReset)
if !RetryPassphrase {
break
}
}
if Daemonize {