chiark / gitweb /
tty-ask-password-agent: return negative errno
authorFlorian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Thu, 3 Apr 2014 19:17:20 +0000 (21:17 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 5 Apr 2014 04:55:19 +0000 (00:55 -0400)
commitee0e4cca5ac37a094dfe1074907dae70c7b7701c
treef7cdbb39340dbf1dcc6f290b60d8745a202dee44
parentb3ae710c251d0ce5cf2cef63208e325497b5e323
tty-ask-password-agent: return negative errno

Return negative errno in wall_tty_block(). get_ctty_devnr() already
returns a negative errno in case of failure, no need to negate it again.

Reported-by: Simon <hwold@odai.homelinux.net>
src/tty-ask-password-agent/tty-ask-password-agent.c