projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3f0b5
)
Fix return code introduced by #3182
author
Fᴀʙɪᴇɴ Wᴇʀɴʟɪ
<faxmodem@collectd.org>
Tue, 2 Jul 2019 09:05:02 +0000
(11:05 +0200)
committer
Matthias Runge
<mrunge@redhat.com>
Tue, 2 Jul 2019 09:36:43 +0000
(11:36 +0200)
Change-Id: I0972f74f3fff05cf29fa9b0be383f0b0df1e6d03
Fixes: #3200
(cherry picked from commit
835a58c09ff7afd44627915c9274b16c5df0fb50
)
src/syslog.c
patch
|
blob
|
history
diff --git
a/src/syslog.c
b/src/syslog.c
index
d3be5c9
..
b4e2c0c
100644
(file)
--- a/
src/syslog.c
+++ b/
src/syslog.c
@@
-56,9
+56,10
@@
static int sl_config(const char *key, const char *value) {
}
} else if (strcasecmp(key, "NotifyLevel") == 0) {
notif_severity = parse_notif_severity(value);
- if (notif_severity < 0)
+ if (notif_severity < 0)
{
ERROR("syslog: invalid notification severity [%s]", value);
- return 1;
+ return 1;
+ }
}
return 0;