fixes coverity CID 169314

This commit is contained in:
Sebastian Stenzel
2017-05-12 15:59:34 +02:00
parent f87f10f332
commit 67a7dcdc4b

View File

@@ -69,6 +69,7 @@ public class AutoUnlocker {
char[] storedPw = keychainAccess.get().loadPassphrase(vault.getId());
if (storedPw == null) {
LOG.warn("No passphrase stored in keychain for vault registered for auto unlocking: {}", vault.getPath());
return;
}
try {
vault.unlock(CharBuffer.wrap(storedPw));