tty-ask-password-agent: Do tell what directory we failed to open

(cherry picked from commit 267b3e41df)
(cherry picked from commit 54fcd1a651)
This commit is contained in:
Cristian Rodríguez
2014-06-18 12:34:17 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent da9ec06bdc
commit 8038e07f24
@@ -503,7 +503,7 @@ static int show_passwords(void) {
if (errno == ENOENT)
return 0;
log_error("opendir(): %m");
log_error("opendir(/run/systemd/ask-password): %m");
return -errno;
}