X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fmount.c;h=fc981c74f430dc957ef8ef14578a2f0e3f5ee9b5;hp=83e51a7abad2e4a42bc30753ff45a7b9d4b5e13d;hb=96342de68d0d6de71a062d984dafd2a0905ed9fe;hpb=d98cc1f29fbf31ccc500d6e20c29b636b9af7e0f diff --git a/src/core/mount.c b/src/core/mount.c index 83e51a7ab..fc981c74f 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -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;