summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent/tty-ask-password-agent.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-02-13 16:25:33 +0100
committerLennart Poettering <lennart@poettering.net>2013-02-13 16:25:33 +0100
commit092c4c437f30bb030deae89cc81109a624898b36 (patch)
tree31e0b055aa9410d6128195b8684ed5a1f0b12e85 /src/tty-ask-password-agent/tty-ask-password-agent.c
parent2826d14091e43ed3397d862dee79d09d0115c84e (diff)
Revert "log_error() if inotify_add_watch() fails"
This reverts commit 2826d14091e43ed3397d862dee79d09d0115c84e. We never should generate log messages from a library.
Diffstat (limited to 'src/tty-ask-password-agent/tty-ask-password-agent.c')
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 276ccf9780..99a626c6c5 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -81,7 +81,6 @@ static int ask_password_plymouth(
}
if (inotify_add_watch(notify, flag_file, IN_ATTRIB /* for the link count */) < 0) {
- log_error("Failed to add watch on %s: %m", flag_file);
r = -errno;
goto finish;
}
@@ -578,7 +577,6 @@ static int watch_passwords(void) {
}
if (inotify_add_watch(notify, "/run/systemd/ask-password", IN_CLOSE_WRITE|IN_MOVED_TO) < 0) {
- log_error("Failed to add watch on /run/systemd/ask-password: %m");
r = -errno;
goto finish;
}