mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-20 19:18:06 +07:00
mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet
This commit is contained in:
parent
8cbef76075
commit
19b160fae9
@ -936,7 +936,7 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
|
||||
case MOUNT_REMOUNTING_SIGKILL:
|
||||
case MOUNT_REMOUNTING_SIGTERM:
|
||||
|
||||
if (success && m->from_proc_self_mountinfo)
|
||||
if (success)
|
||||
mount_enter_mounted(m, true);
|
||||
else if (m->from_proc_self_mountinfo)
|
||||
mount_enter_mounted(m, false);
|
||||
|
Loading…
Reference in New Issue
Block a user