mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
Use platform-specific path separator when generating sanity check file
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user