diff options
author | Karel Zak | 2011-04-01 09:03:39 +0200 |
---|---|---|
committer | Karel Zak | 2011-04-01 09:03:39 +0200 |
commit | f19c952b2fc07ddd7a698cf3a213a9a16d13e7ba (patch) | |
tree | eb591be7c2d1b45cff2595770e7fecf0b92f4be8 /shlibs/mount/src/context_umount.c | |
parent | libmount: support /run/mount rather than /dev/.mount (diff) | |
download | kernel-qcow2-util-linux-f19c952b2fc07ddd7a698cf3a213a9a16d13e7ba.tar.gz kernel-qcow2-util-linux-f19c952b2fc07ddd7a698cf3a213a9a16d13e7ba.tar.xz kernel-qcow2-util-linux-f19c952b2fc07ddd7a698cf3a213a9a16d13e7ba.zip |
umount: use helper= for all UIDs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/context_umount.c')
-rw-r--r-- | shlibs/mount/src/context_umount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shlibs/mount/src/context_umount.c b/shlibs/mount/src/context_umount.c index 08b0fd46c..e10af52f2 100644 --- a/shlibs/mount/src/context_umount.c +++ b/shlibs/mount/src/context_umount.c @@ -584,9 +584,9 @@ int mnt_context_prepare_umount(struct libmnt_context *cxt) if (!rc && !cxt->helper) { - if (!cxt->restricted && (cxt->user_mountflags & MNT_MS_PHELPER)) - /* on phelper= mount option based helper */ - rc = prepare_helper_from_options(cxt, "phelper"); + if (cxt->user_mountflags & MNT_MS_HELPER) + /* on helper= mount option based helper */ + rc = prepare_helper_from_options(cxt, "helper"); if (!rc && !cxt->helper) /* on fstype based helper */ |