summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ask-password-api.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ask-password-api.c b/src/ask-password-api.c
index dd54fb6abf..af1b611f27 100644
--- a/src/ask-password-api.c
+++ b/src/ask-password-api.c
@@ -179,8 +179,6 @@ int ask_password_tty(
}
}
- if (ttyfd >= 0)
-
passphrase[p] = 0;
if (!(*_passphrase = strdup(passphrase))) {