diff options
author | Thomas Jarosch <thomas.jarosch@intra2net.com> | 2011-11-09 20:48:31 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-11-14 18:08:27 +0100 |
commit | 085c98af4eb17858b4687068f12eccc51a032732 (patch) | |
tree | e15e55613ffd974d1ba24ecfe33b477c51d8cff3 | |
parent | 9f84624270432cdff35c4f499fbdb9e0f94fe705 (diff) |
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>
-rw-r--r-- | src/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit.c b/src/unit.c index ad4063b07b..2a549e2f81 100644 --- a/src/unit.c +++ b/src/unit.c @@ -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_SYSLOG_AND_CONSOLE && c->std_error != EXEC_OUTPUT_KMSG && - c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE && - c->std_error != EXEC_OUTPUT_KMSG && + c->std_error != EXEC_OUTPUT_SYSLOG && + c->std_error != EXEC_OUTPUT_KMSG_AND_CONSOLE && c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE) return 0; |