tree-wide: no need to negate argument to ERROR_IS_XYZ()

These macros call abs() internally, hence let's simplify invocations.
This commit is contained in:
Lennart Poettering
2020-08-28 22:58:58 +02:00
parent fd8a301703
commit 95d2155aeb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3402,7 +3402,7 @@ static int run(int argc, char *argv[]) {
}
}
if (ERRNO_IS_RESOURCE(-r))
if (ERRNO_IS_RESOURCE(r))
return r;
if (invalid_config)
return EX_DATAERR;