chiark / gitweb /
mount-setup: change system mount propagation to shared by default
[elogind.git] / src / core / socket.c
index 19b463e6a452553c6cc922f79764ab796bd5202f..837b166e3bdac367e144634218d92a5b34a776ce 100644 (file)
@@ -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;
         }