summaryrefslogtreecommitdiff
path: root/src/core/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-20 00:09:35 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-20 00:10:32 +0200
commitcba6e0627d659a33df31aaa74d0d701c4bc9f317 (patch)
treee973cc904a6f703a4a1836d130e16d4cc780bf28 /src/core/socket.c
parentc74f17d96cccd4cc998fd037cb92046930188c91 (diff)
units: apply default resource limits to socket/mount/swap processes too
Diffstat (limited to 'src/core/socket.c')
-rw-r--r--src/core/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index 19b463e6a4..837b166e3b 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -374,7 +374,7 @@ static int socket_load(Unit *u) {
if ((r = socket_add_default_dependencies(s)) < 0)
return r;
- r = unit_patch_working_directory(UNIT(s), &s->exec_context);
+ r = unit_exec_context_defaults(u, &s->exec_context);
if (r < 0)
return r;
}