From: Brian West Date: Tue, 15 Dec 2009 14:34:43 +0000 (+0000) Subject: FSBUILD-216 X-Git-Tag: v1.0.6~998 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=408f28df07e561e3b8a8ee897e77c81f73992207;p=thirdparty%2Ffreeswitch.git FSBUILD-216 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15965 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/scripts/gentls_cert.in b/scripts/gentls_cert.in index 18c762fe1a..1c40133989 100644 --- a/scripts/gentls_cert.in +++ b/scripts/gentls_cert.in @@ -126,7 +126,7 @@ generate_cert() { remove_ca() { echo "Removing CA" - if [ ! -d "${CONFDIR}/CA" ]; then + if [ -d "${CONFDIR}/CA" ]; then rm "${CONFDIR}/CA/"* rmdir "${CONFDIR}/CA" fi