Fix sh grammar error for gvnfmdriver 76/85776/1
authorfujinhua <fu.jinhua@zte.com.cn>
Fri, 19 Apr 2019 08:38:46 +0000 (16:38 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Fri, 19 Apr 2019 08:38:46 +0000 (16:38 +0800)
Change-Id: I14d8ca74361885ba3a7ceb38e725bd46062aac5d
Issue-ID: VFC-1307
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
gvnfmadapter/run.sh

index fe669f5..6c9abc6 100755 (executable)
@@ -20,7 +20,7 @@ fi
 
 # nohup python manage.py runserver 0.0.0.0:8484 > /dev/null &
 
-if [ ${SSL_ENABLED} = "true" ]; then
+if [ "${SSL_ENABLED}" = "true" ]; then
     nohup uwsgi --https :8484,driver/pub/ssl/cert/foobar.crt,driver/pub/ssl/cert/foobar.key, -t 120 --module driver.wsgi --master --processes 4 &
 else
     nohup uwsgi --http :8484 -t 120 --module driver.wsgi --master --processes 4 &