Fix duplicate ssh plugin error message.

This commit is contained in:
Milan Broz
2022-02-08 21:45:00 +01:00
parent 76086dbe95
commit 33d8605924

View File

@@ -56,7 +56,7 @@ int sshplugin_download_password(struct crypt_device *cd, ssh_session ssh,
file = sftp_open(sftp, path, O_RDONLY, 0); file = sftp_open(sftp, path, O_RDONLY, 0);
if (!file) { if (!file) {
crypt_log(cd, CRYPT_LOG_ERROR, _("Cannot create sftp session: ")); crypt_log(cd, CRYPT_LOG_ERROR, _("Cannot open sftp session: "));
r = SSH_FX_FAILURE; r = SSH_FX_FAILURE;
goto out; goto out;
} }