diff --git a/sbin/mount/mount_libmount.c b/sbin/mount/mount_libmount.c index a53c127..bf5db07 100644 --- a/sbin/mount/mount_libmount.c +++ b/sbin/mount/mount_libmount.c @@ -358,6 +358,7 @@ static int nilfs_prepare_mount(struct nilfs_mount_info *mi) mnt_table_get_cache(mtab))) { error(_("%s: different mount point (%s). remount failed."), progname, mnt_context_get_target(cxt)); + res = -EINVAL; goto failed; }