core: fix CID 996302

CID 996302:  Error handling issues  (CHECKED_RETURN)
This commit is contained in:
Susant Sahani
2015-06-12 10:24:26 +05:30
parent ed810b68d3
commit 034e10d7fb

View File

@@ -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