Use platform-specific path separator when generating sanity check file

This commit is contained in:
2025-05-08 20:45:32 -04:00
parent fb83d29a23
commit ac85577916
+1 -1
View File
@@ -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)
}