mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-10-27 06:09:57 -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 {
|
if err != nil {
|
||||||
return errors.New("Failed to read sanity check file (" + path + ")")
|
return errors.New("Failed to read sanity check file (" + path + ")")
|
||||||
}
|
}
|
||||||
decBytes, err := Decrypt(encBytes, passphrase)
|
decBytes, _ := Decrypt(encBytes, passphrase)
|
||||||
if string(decBytes) == "thx4usin'rcw" {
|
if string(decBytes) == "thx4usin'rcw" {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user