journalctl: reset --lines= correctly if no argument

Follow-up for 8d6791d2aa
This commit is contained in:
Mike Yuan
2023-09-05 12:52:28 +08:00
parent d8f281abce
commit 7b5ff4391c
+1
View File
@@ -330,6 +330,7 @@ static int parse_lines(const char *arg, bool graceful) {
default_noarg:
arg_lines = 10;
arg_lines_oldest = false;
return 0;
}