chiark / gitweb /
exec: introduce global defaults for the standard output of services
[elogind.git] / src / manager.c
index 7d0b351c9d14de68c978e486bcea151cbf6498cd..a7c8885e80fb10a117e4c647ab00b8d0296cc93e 100644 (file)
@@ -214,6 +214,8 @@ int manager_new(ManagerRunningAs running_as, Manager **_m) {
         m->exit_code = _MANAGER_EXIT_CODE_INVALID;
         m->pin_cgroupfs_fd = -1;
 
+        m->default_std_output = EXEC_OUTPUT_NULL;
+
 #ifdef HAVE_AUDIT
         m->audit_fd = -1;
 #endif