journald: allow priority of 999, too

This commit is contained in:
Lennart Poettering
2013-03-11 15:10:29 +01:00
parent f432bb9144
commit 41891700e0
+1 -1
View File
@@ -175,7 +175,7 @@ static int stdout_stream_line(StdoutStream *s, char *p) {
case STDOUT_STREAM_PRIORITY:
r = safe_atoi(p, &s->priority);
if (r < 0 || s->priority < 0 || s->priority >= 999) {
if (r < 0 || s->priority < 0 || s->priority > 999) {
log_warning("Failed to parse log priority line.");
return -EINVAL;
}