1
0
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:
Zbigniew Jędrzejewski-Szmek 2021-11-16 12:20:17 +01:00
parent 52117f5af8
commit b11b17f408

View File

@ -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) {