Quotes
This commit is contained in:
parent
e87a4a7446
commit
a2ef741834
|
@ -386,7 +386,7 @@ function export_settings {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f $EXPORT_FILE ]; then
|
if [ ! -f $EXPORT_FILE ]; then
|
||||||
if [ $SSL_PROTOCOLS ]; then
|
if [ "$SSL_PROTOCOLS" ]; then
|
||||||
echo "SSL_PROTOCOLS=$SSL_PROTOCOLS" >> $EXPORT_FILE
|
echo "SSL_PROTOCOLS=$SSL_PROTOCOLS" >> $EXPORT_FILE
|
||||||
fi
|
fi
|
||||||
if [ $SSL_CIPHERS ]; then
|
if [ $SSL_CIPHERS ]; then
|
||||||
|
@ -417,7 +417,7 @@ function export_settings {
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SSL_PROTOCOLS ]; then
|
if [ "$SSL_PROTOCOLS" ]; then
|
||||||
if grep -q "SSL_PROTOCOLS" $EXPORT_FILE; then
|
if grep -q "SSL_PROTOCOLS" $EXPORT_FILE; then
|
||||||
sed -i "s|SSL_PROTOCOLS=.*|SSL_PROTOCOLS=$SSL_PROTOCOLS|g" $EXPORT_FILE
|
sed -i "s|SSL_PROTOCOLS=.*|SSL_PROTOCOLS=$SSL_PROTOCOLS|g" $EXPORT_FILE
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue