Browse Source

Fix error with HTTPS (unset if false)

Joachim M. Giæver 3 years ago
parent
commit
c1aabc717b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/helper/env-wrapper

+ 1 - 1
src/helper/env-wrapper

@@ -88,7 +88,7 @@ export GIT_DIR="${SNAP}/usr/lib/zwavejs2mqtt/.git"
 
 
 export HTTPS="${SERVER_SSL}"
 export HTTPS="${SERVER_SSL}"
 
 
-if [ "${HTTPS}" != "true" ]; then
+if [ "${HTTPS}" != true ]; then
     unset HTTPS
     unset HTTPS
     unset SERVER_SSL
     unset SERVER_SSL
 fi
 fi