Bug#782426: unblock: systemd/215-15
Julien Cristau
jcristau at debian.org
Mon Apr 13 21:18:38 BST 2015
On Mon, Apr 13, 2015 at 22:03:51 +0200, Michael Biebl wrote:
> ++static int manager_dispatch_ask_password_fd(sd_event_source *source,
> ++ int fd, uint32_t revents, void *userdata) {
> ++ Manager *m = userdata;
> ++
> ++ assert(m);
> ++
> ++ flush_fd(fd);
> ++
> ++ m->have_ask_password = have_ask_password();
> ++ if (m->have_ask_password < 0)
> ++ /* Log error but continue. Negative have_ask_password
> ++ * is treated as unknown status. */
> ++ log_error("Failed to list /run/systemd/ask-password: %s", strerror(m->have_ask_password));
shouldn't that be strerror(-m->have_ask_password)?
Cheers,
Julien
> ++
> ++ return 0;
> ++}
> ++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150413/87fc5a6f/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list