mirror of
https://github.com/systemd/systemd.git
synced 2026-07-21 06:50:38 +00:00
core: fix CID 996302
CID 996302: Error handling issues (CHECKED_RETURN)
This commit is contained in:
@@ -385,7 +385,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed, bool log_e
|
||||
* alias read-only we hence should be
|
||||
* relatively safe regarding keeping the fs we
|
||||
* can otherwise not see dirty. */
|
||||
mount(NULL, m->path, NULL, MS_REMOUNT|MS_RDONLY, NULL);
|
||||
(void) mount(NULL, m->path, NULL, MS_REMOUNT|MS_RDONLY, NULL);
|
||||
}
|
||||
|
||||
/* Skip / and /usr since we cannot unmount that
|
||||
|
||||
Reference in New Issue
Block a user