Quotes
This commit is contained in:
parent
e87a4a7446
commit
a2ef741834
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue