Fix sh grammar error for vnfres 73/85773/1
authorfujinhua <fu.jinhua@zte.com.cn>
Fri, 19 Apr 2019 08:35:10 +0000 (16:35 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Fri, 19 Apr 2019 08:35:10 +0000 (16:35 +0800)
Change-Id: I3e4a2e6797eb31f1ae1ba433699629d1609b8738
Issue-ID: VFC-1307
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
res/run.sh

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