Skip to content

Commit

Permalink
fixing variable handling (=false used to return true)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Feb 25, 2024
1 parent a986541 commit fd4ffbb
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 @@ -80,9 +80,9 @@ echo "-----"

echo "setting up webserver:"

if [ -n "${WEBSERVER_ENABLE+x}" ]; then
if [ "${WEBSERVER:-true}" ]; then

if [ -n "${WEBSERVER_PING_ENABLE+x}" ]; then
if [ "${WEBSERVER_PING_ENABLE:-false}" ]; then
echo "enabling ping status"
(
while true; do
Expand Down

0 comments on commit fd4ffbb

Please sign in to comment.