Skip to content

Commit

Permalink
added proper comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Feb 25, 2024
1 parent 57c5989 commit 68f074e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/runScanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ if [ "${DISABLE_GUI_SCANTOOCR:-false}" ]; then
fi
#--------------------------------------------------------

if [ "${WEBSERVER_ENABLE:-$WEBSERVER_DEFAULT}" ]; then
if [ "${WEBSERVER_ENABLE:-$WEBSERVER_DEFAULT}" = "true" ]; then
WEBSERVER_PING_ENABLE="${WEBSERVER_PING_ENABLE:-$WEBSERVER_PING_DEFAULT}"
if [ "${WEBSERVER_PING_ENABLE:-$WEBSERVER_PING_DEFAULT}" ]; then
if [ "${WEBSERVER_PING_ENABLE:-$WEBSERVER_PING_DEFAULT}" = "true" ]; then
echo "enabling ping status"
(
while true; do
Expand Down

0 comments on commit 68f074e

Please sign in to comment.