Commits

Zhang Huangbin committed dcf4189

Fix typo error.

Comments (0)

Files changed (1)

iRedMail/functions/iredapd.sh

     endscript
 }
 EOF
-        elif [ X"${KERNEL_NAME}" == X'OPENBSD' ]; then
-            if ! grep 'iredapd.log' /etc/newsyslog.conf &>/dev/null; then
-                cat >> /etc/newsyslog.conf <<EOF
+    elif [ X"${KERNEL_NAME}" == X'OPENBSD' ]; then
+        if ! grep 'iredapd.log' /etc/newsyslog.conf &>/dev/null; then
+            cat >> /etc/newsyslog.conf <<EOF
 ${IREDAPD_LOG_FILE}    ${SYS_ROOT_USER}:${SYS_ROOT_GROUP}   640  7     *    24    Z "${DIR_RC_SCRIPTS}/iredapd restart"
 EOF
+        fi
     fi
 
     cat >> ${TIP_FILE} <<EOF