Browse Source

Only use 'certificates' by default if it exists

Alois Mahdal 3 years ago
parent
commit
122e83b51b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/imapdomo.skel

+ 1
- 1
src/imapdomo.skel View File

160
     CfgDir="$IMAPDOMO_CFGDIR"
160
     CfgDir="$IMAPDOMO_CFGDIR"
161
     LogDir="$IMAPDOMO_USER_CACHE/logs"
161
     LogDir="$IMAPDOMO_USER_CACHE/logs"
162
     HeaderDir="$IMAPDOMO_USER_CACHE/headers"
162
     HeaderDir="$IMAPDOMO_USER_CACHE/headers"
163
-    Certs="$IMAPDOMO_CFGDIR/certificates"
163
+    test -f "$IMAPDOMO_CFGDIR/certificates" && Certs="$IMAPDOMO_CFGDIR/certificates"
164
     NoLock=false
164
     NoLock=false
165
     Debug=false
165
     Debug=false
166
     #shellcheck disable=SC2034
166
     #shellcheck disable=SC2034