Skip to content

Commit

Permalink
WIP: Order .device units before other during stop
Browse files Browse the repository at this point in the history
  • Loading branch information
Werkov committed Feb 5, 2019
1 parent 2792cc9 commit bdaa49d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/unit.c
Expand Up @@ -2853,8 +2853,7 @@ int unit_add_dependency(

if ((d == UNIT_BEFORE && other->type == UNIT_DEVICE) ||
(d == UNIT_AFTER && u->type == UNIT_DEVICE)) {
log_unit_warning(u, "Dependency Before=%s ignored (.device units cannot be delayed)", other->id);
return 0;
log_unit_info(u, "Dependency Before=%s (.device units not effectively delayed during start)", other->id);
}

r = unit_add_dependency_hashmap(u->dependencies + d, other, mask, 0);
Expand Down

0 comments on commit bdaa49d

Please sign in to comment.