core: drop 'wants' parameter from unit_add_node_dependency()
Since Wants dependency is no more automagically added to swap and mount units, this parameter is no more used hence this patch drops it.
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ static int socket_add_device_dependencies(Socket *s) {
|
||||
return 0;
|
||||
|
||||
t = strjoina("/sys/subsystem/net/devices/", s->bind_to_device);
|
||||
return unit_add_node_dependency(UNIT(s), t, false, UNIT_BINDS_TO, UNIT_DEPENDENCY_FILE);
|
||||
return unit_add_node_dependency(UNIT(s), t, UNIT_BINDS_TO, UNIT_DEPENDENCY_FILE);
|
||||
}
|
||||
|
||||
static int socket_add_default_dependencies(Socket *s) {
|
||||
|
||||
Reference in New Issue
Block a user