diff options
Diffstat (limited to 'libmount/src/context_mount.c')
-rw-r--r-- | libmount/src/context_mount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index 91611efcdf..a7ea832508 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -369,7 +369,8 @@ static int generate_helper_optstr(struct libmnt_context *cxt, char **optstr) if (!*optstr) return -ENOMEM; - if (cxt->user_mountflags & MNT_MS_USER) { + if ((cxt->user_mountflags & MNT_MS_USER) || + (cxt->user_mountflags & MNT_MS_USERS)) { /* * This is unnecessary for real user-mounts as mount.<type> * helpers always have to follow fstab rather than mount |