diff --git a/sbin/mount/mount_libmount.c b/sbin/mount/mount_libmount.c index 8ac9796..a53c127 100644 --- a/sbin/mount/mount_libmount.c +++ b/sbin/mount/mount_libmount.c @@ -334,6 +334,7 @@ static int nilfs_prepare_mount(struct nilfs_mount_info *mi) error(_("%s: the device already has a rw-mount on %s.\n" "\t\tmultiple rw-mount is not allowed."), progname, mnt_fs_get_target(fs)); + res = -EBUSY; goto failed; case MS_RDONLY: /* ro-mount (a rw-mount exists) */ break;