diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-09 16:06:36 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-10 14:46:59 +0100 |
commit | 7211c853c26554ad1f58c2cfa1d5a0bfc059bf15 (patch) | |
tree | 8ec5ffd55875cf64df5df97d7cf10c6449d23fea /src/journal/journald-context.c | |
parent | 751db3b4cd09ba7f9352444b93600992493cbf28 (diff) | |
download | systemd-7211c853c26554ad1f58c2cfa1d5a0bfc059bf15.tar.gz |
tree-wide: propagate error code from _from_string() functions
Now that we know we have something useful, no need to make an answer up.
Diffstat (limited to 'src/journal/journald-context.c')
-rw-r--r-- | src/journal/journald-context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-context.c b/src/journal/journald-context.c index f67013e80c..58151aa03d 100644 --- a/src/journal/journald-context.c +++ b/src/journal/journald-context.c @@ -368,7 +368,7 @@ static int client_context_read_log_level_max( ll = log_level_from_string(value); if (ll < 0) - return -EINVAL; + return ll; c->log_level_max = ll; return 0; |