diff options
Diffstat (limited to 'etc/rc.d/named')
-rwxr-xr-x | etc/rc.d/named | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/named b/etc/rc.d/named index 85a0f00..346b6fc 100755 --- a/etc/rc.d/named +++ b/etc/rc.d/named @@ -183,8 +183,8 @@ named_prestart() if [ -s "${named_confdir}/rndc.conf" ]; then unset confgen_command fi - if [ -s "${named_confidr}/rndc.key" ]; then - case `stat -f%Su ${named_confidr}/rndc.key` in + if [ -s "${named_confdir}/rndc.key" ]; then + case `stat -f%Su ${named_confdir}/rndc.key` in root|$named_uid) ;; *) $confgen_command ;; esac |