mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-10-27 14:19:59 -04:00
Ignore unused error
This commit is contained in:
1 parent
eda92fccdd
commit
e8403315a8
1 file changed
+1
-1
@@ -21,7 +21,7 @@ func RunSanityCheck(path string, passphrase []byte) error {
|
||||
if err != nil {
|
||||
return errors.New("Failed to read sanity check file (" + path + ")")
|
||||
}
|
||||
decBytes, err := Decrypt(encBytes, passphrase)
|
||||
decBytes, _ := Decrypt(encBytes, passphrase)
|
||||
if string(decBytes) == "thx4usin'rcw" {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user