mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-10-27 06:09:57 -04:00
Attempt to fix unexpected EOF on Solaris
This commit is contained in:
1 parent
ba4a2c8396
commit
8318b2e325
5 files changed
+39
-11
No files matched your search
@@ -20,7 +20,7 @@ func GenSanityCheck(path string, password []byte, zeroizePassword bool) error {
|
||||
func RunSanityCheck(path string, password []byte) error {
|
||||
encBytes, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
return errors.New("Failed to read sanity check file (" + path + ")")
|
||||
return errors.New("unable to read sanity check file (" + path + "): " + err.Error())
|
||||
}
|
||||
decBytes, err := Decrypt(encBytes, password, false)
|
||||
if err == nil {
|
||||
|
||||
Reference in new issue
Block a user