diff options
| author | jvdias <jvdias@fedoraproject.org> | 2006-07-21 20:36:45 +0000 |
|---|---|---|
| committer | jvdias <jvdias@fedoraproject.org> | 2006-07-21 20:36:45 +0000 |
| commit | ba41335b017f9c8ca6dff376fda03a9239718b02 (patch) | |
| tree | 625d2c5fd84904210743ac667995e22ace1ae6a3 /bind-chroot-admin.in | |
| parent | 77c3ce0b9cae81c155bdb1d028be227df9b170f1 (diff) | |
fix addenda to bugs 189789, 196398
Diffstat (limited to 'bind-chroot-admin.in')
| -rw-r--r-- | bind-chroot-admin.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in index 9395c6e..e748d99 100644 --- a/bind-chroot-admin.in +++ b/bind-chroot-admin.in @@ -52,10 +52,7 @@ function rootdir() function selinux_enabled() { - [ -e /etc/selinux/config ] && . /etc/selinux/config; - if [ -n "$SELINUX" ] && [ "$SELINUX" != 'disabled' ] ; then - return 0; - fi; + while read d mp fs rest; do if [ "$fs" = "selinuxfs" ]; then return 0; fi; done < /proc/mounts return 1; } |
