summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c
index 0b435cb78e..903a8e4da4 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -774,7 +774,7 @@ int unit_add_default_target_dependency(Unit *u, Unit *target) {
/* If either side wants no automatic dependencies, then let's
* skip this */
if (!u->meta.default_dependencies ||
- target->meta.default_dependencies)
+ !target->meta.default_dependencies)
return 0;
/* Don't create loops */