chiark / gitweb /
selinux: close stdin/stdout/stderr before loading selinux policy
[elogind.git] / src / core / mount.c
index 83e51a7abad2e4a42bc30753ff45a7b9d4b5e13d..fc981c74f430dc957ef8ef14578a2f0e3f5ee9b5 100644 (file)
@@ -1225,7 +1225,7 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
 
         m->control_pid = 0;
 
-        if (is_clean_exit(code, status))
+        if (is_clean_exit(code, status, NULL))
                 f = MOUNT_SUCCESS;
         else if (code == CLD_EXITED)
                 f = MOUNT_FAILURE_EXIT_CODE;