summaryrefslogtreecommitdiffstats
path: root/bind-chroot-admin.in
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-05-24 14:31:50 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-05-24 14:31:50 +0000
commit9fed5d39ed995d082560e4297d2ee59017a59a19 (patch)
treecb61e784d20c70b3458a514384d8c8b887c0a5b1 /bind-chroot-admin.in
parent08c420d1f58731b96e901d5661132828f824c69f (diff)
- start using deprecated ldap API because new-api patch didn't work (lack
of documentation) - fix minor bug in bind-chroot-admin script (#241103)
Diffstat (limited to 'bind-chroot-admin.in')
-rw-r--r--bind-chroot-admin.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bind-chroot-admin.in b/bind-chroot-admin.in
index be6064d..3ff3e58 100644
--- a/bind-chroot-admin.in
+++ b/bind-chroot-admin.in
@@ -221,7 +221,7 @@ function master_zone_writes_enabled()
fi;
. /etc/sysconfig/named
- if [ "$ENABLE_ZONE_WRITE" = [yY1]* ]; then
+ if `echo "$ENABLE_ZONE_WRITE" | grep -q '[yY1].*'`; then
return 0;
fi;