2
0
Эх сурвалжийг харах

tls mk cert script: typo fix

Andrei Pelinescu-Onciul 16 жил өмнө
parent
commit
8205f043c4

+ 2 - 2
modules/tls/sip-router_cert.sh

@@ -28,12 +28,12 @@ MAILNAME=`cat /etc/mailname 2> /dev/null || echo $FQDN`
 
 # test if we have the normal or enhanced getopt
 getopt -T >/dev/null
-if [ $? == 4 ]; then
+if [ $? = 4 ]; then
 	LONGOPTS_SUPPORTED=1
 fi
 
 longopts() {
-	if [ -z "${LONGOPTS_SUPPORTED}"]; then
+	if [ -z "${LONGOPTS_SUPPORTED}" ]; then
 		exit;
 	fi
 	case "$1" in

+ 2 - 2
modules_s/tls/ser_cert.sh

@@ -28,12 +28,12 @@ MAILNAME=`cat /etc/mailname 2> /dev/null || echo $FQDN`
 
 # test if we have the normal or enhanced getopt
 getopt -T >/dev/null
-if [ $? == 4 ]; then
+if [ $? = 4 ]; then
 	LONGOPTS_SUPPORTED=1
 fi
 
 longopts() {
-	if [ -z "${LONGOPTS_SUPPORTED}"]; then
+	if [ -z "${LONGOPTS_SUPPORTED}" ]; then
 		exit;
 	fi
 	case "$1" in