mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
Fix same expression on both sides of '&&'
The code should probably look like the statements above it. Please verify, I just detected it using cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
This commit is contained in:
parent
9f84624270
commit
085c98af4e
@ -564,8 +564,8 @@ int unit_add_exec_dependencies(Unit *u, ExecContext *c) {
|
|||||||
c->std_output != EXEC_OUTPUT_KMSG_AND_CONSOLE &&
|
c->std_output != EXEC_OUTPUT_KMSG_AND_CONSOLE &&
|
||||||
c->std_output != EXEC_OUTPUT_SYSLOG_AND_CONSOLE &&
|
c->std_output != EXEC_OUTPUT_SYSLOG_AND_CONSOLE &&
|
||||||
c->std_error != EXEC_OUTPUT_KMSG &&
|
c->std_error != EXEC_OUTPUT_KMSG &&
|
||||||
c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE &&
|
c->std_error != EXEC_OUTPUT_SYSLOG &&
|
||||||
c->std_error != EXEC_OUTPUT_KMSG &&
|
c->std_error != EXEC_OUTPUT_KMSG_AND_CONSOLE &&
|
||||||
c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE)
|
c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user