From ac855779168341fd3721632cf321c3826dc5ec58 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 8 May 2025 20:45:32 -0400 Subject: [PATCH] Use platform-specific path separator when generating sanity check file --- core/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/init.go b/core/init.go index 8a4d929..7578362 100644 --- a/core/init.go +++ b/core/init.go @@ -8,7 +8,7 @@ import ( // RCWSanityCheckGen generates the RCW sanity check file for libmutton. func RCWSanityCheckGen(passphrase []byte) { - err := wrappers.GenSanityCheck(ConfigDir+"/sanity.rcw", passphrase) + err := wrappers.GenSanityCheck(ConfigDir+PathSeparator+"sanity.rcw", passphrase) if err != nil { PrintError("Failed to generate sanity check file: "+err.Error(), ErrorWrite, true) }