-d instead of -x
authorRoy Marples <roy@marples.name>
Thu, 4 Nov 2010 15:51:01 +0000 (15:51 +0000)
committerRoy Marples <roy@marples.name>
Thu, 4 Nov 2010 15:51:01 +0000 (15:51 +0000)
named.in

index 47231667d4578b3fe9471bffdffc545f8ba467cd..6448961285076ce1c20276296e0f0300a7938b8f 100644 (file)
--- a/named.in
+++ b/named.in
@@ -33,7 +33,7 @@
 
 # Platform specific kludges
 if [ -z "$named_service" -a -z "$named_restart" -a \
-       -x "@RCDIR@" -a ! -x "@RCDIR@"/named ]
+       -d "@RCDIR@" -a ! -x "@RCDIR@"/named ]
 then
        if [ -x "@RCDIR@"/bind9 ]; then
                # Debian and derivatives