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 | f86f53c3025c1a008b0bfdf78d1d9c9c65238023 (patch) | |
| tree | 9ddad29018029bc823bc00cfee60d4ea8dcf7fcb /bind-chroot-admin.in | |
| parent | a39c9daff895dff28af80085b3b72f68e7018592 (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; } |
