Commit 446f0046 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

agent: don't print warnings if a password was removed or timed out

parent c0f9c7da
......@@ -375,7 +375,14 @@ static int parse_password(const char *filename, char **wall) {
packet_length = strlen(packet);
}
if (r == -ETIME || r == -ENOENT) {
/* If the query went away, that's OK */
r = 0;
goto finish;
}
if (r < 0) {
log_error("Failed to query password: %s", strerror(-r));
goto finish;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment