mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
analyze: clarify return value
In this case, EXIT_SUCCESS is the same as 0, but we shouldn't use it in a function that returns negative on error.
This commit is contained in:
parent
52117f5af8
commit
b11b17f408
@ -2099,7 +2099,7 @@ static int dump_timespan(int argc, char *argv[], void *userdata) {
|
||||
putchar('\n');
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int test_timestamp_one(const char *p) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user