--- freeswitch/trunk/scripts/gentls_cert.in 2009-12-15 01:31:54 UTC (rev 15964)
+++ freeswitch/trunk/scripts/gentls_cert.in 2009-12-15 14:34:43 UTC (rev 15965)
@@ -126,7 +126,7 @@
remove_ca() {
echo "Removing CA"
- if [ ! -d "${CONFDIR}/CA" ]; then
+ if [ -d "${CONFDIR}/CA" ]; then
rm "${CONFDIR}/CA/"*
rmdir "${CONFDIR}/CA"
fi