diff --git a/src/freedombone-sec b/src/freedombone-sec index 5d4baea9..d270183f 100755 --- a/src/freedombone-sec +++ b/src/freedombone-sec @@ -386,7 +386,7 @@ function export_settings { fi if [ ! -f $EXPORT_FILE ]; then - if [ $SSL_PROTOCOLS ]; then + if [ "$SSL_PROTOCOLS" ]; then echo "SSL_PROTOCOLS=$SSL_PROTOCOLS" >> $EXPORT_FILE fi if [ $SSL_CIPHERS ]; then @@ -417,7 +417,7 @@ function export_settings { exit 0 fi - if [ $SSL_PROTOCOLS ]; then + if [ "$SSL_PROTOCOLS" ]; then if grep -q "SSL_PROTOCOLS" $EXPORT_FILE; then sed -i "s|SSL_PROTOCOLS=.*|SSL_PROTOCOLS=$SSL_PROTOCOLS|g" $EXPORT_FILE else