Skip to content

Commit

Permalink
unset var after it's been used
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 authored Sep 22, 2024
1 parent e07aeec commit 004c046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ download_geoip_mmdb() {
} > /tmp/dockerenv
unset MwKfcYATm43NMT
unset i9HL69SLnp4ymy
unset x8v8GyVQg2UejdPh
install_docker
if docker run --name maxmind --env-file /tmp/dockerenv -v "$GEOBLOCK_DIR":"$GEOBLOCK_DIR" ghcr.io/maxmind/geoipupdate
then
Expand All @@ -433,6 +432,7 @@ download_geoip_mmdb() {
return 1
fi
fi
unset x8v8GyVQg2UejdPh
}

# Check if process is runnnig: is_process_running dpkg
Expand Down

0 comments on commit 004c046

Please sign in to comment.