On Mon, 28.02.11 11:25, =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= 
([email protected]) wrote:

Ah, thanks, good catch.

The perils of copy&paste. Or actually cut&paste... ;-)

> ---
>  src/ask-password-api.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/src/ask-password-api.c b/src/ask-password-api.c
> index dd54fb6..af1b611 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))) {


Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to