mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-02 15:17:28 -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.
|
// RCWSanityCheckGen generates the RCW sanity check file for libmutton.
|
||||||
func RCWSanityCheckGen(passphrase []byte) {
|
func RCWSanityCheckGen(passphrase []byte) {
|
||||||
err := wrappers.GenSanityCheck(ConfigDir+"/sanity.rcw", passphrase)
|
err := wrappers.GenSanityCheck(ConfigDir+PathSeparator+"sanity.rcw", passphrase)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
PrintError("Failed to generate sanity check file: "+err.Error(), ErrorWrite, true)
|
PrintError("Failed to generate sanity check file: "+err.Error(), ErrorWrite, true)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user