diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-02-13 16:25:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-02-13 16:25:33 +0100 |
commit | 092c4c437f30bb030deae89cc81109a624898b36 (patch) | |
tree | 31e0b055aa9410d6128195b8684ed5a1f0b12e85 /src/shared | |
parent | 2826d14091e43ed3397d862dee79d09d0115c84e (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/shared')
-rw-r--r-- | src/shared/ask-password-api.c | 1 | ||||
-rw-r--r-- | src/shared/util.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c index 10e6ae0614..8a0fb89a84 100644 --- a/src/shared/ask-password-api.c +++ b/src/shared/ask-password-api.c @@ -78,7 +78,6 @@ int ask_password_tty( } 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; } diff --git a/src/shared/util.c b/src/shared/util.c index 6ef191422c..d754c836f2 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -2220,7 +2220,6 @@ int acquire_terminal( wd = inotify_add_watch(notify, name, IN_CLOSE); if (wd < 0) { r = -errno; - log_error("Failed to add watch on %s: %m", name); goto fail; } } |