diff --git a/libpcp/readpass.c b/libpcp/readpass.c index 65430b3..d830c0f 100644 --- a/libpcp/readpass.c +++ b/libpcp/readpass.c @@ -140,10 +140,6 @@ retry: if (readfrom != stdin) { fclose(readfrom); } - else { - if(readfromfile != NULL) - stdin = NULL; - } /* Copy the password out. */ char *p = smalloc(strlen(passbuf) + 1);