Scripts: Remove exit stmts covered by errexit
This commit is contained in:
committed by
Matthias Mailänder
parent
e2fd7ce7ed
commit
c29f1590c9
@@ -10,7 +10,7 @@ set -o errexit || exit $?
|
||||
|
||||
# Set the working directory to the location of this script
|
||||
HERE=$(dirname "$0")
|
||||
cd "${HERE}" || exit 1
|
||||
cd "${HERE}"
|
||||
|
||||
# Database does not exist or is older than 30 days.
|
||||
if [ -z "$(find . -path ./IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP -mtime -30 -print)" ]; then
|
||||
|
||||
Reference in New Issue
Block a user