Scripts: Remove some subshells that ignore errors
This commit is contained in:
committed by
Matthias Mailänder
parent
1b9a86c0a0
commit
e2fd7ce7ed
@@ -9,7 +9,8 @@
|
||||
set -o errexit || exit $?
|
||||
|
||||
# Set the working directory to the location of this script
|
||||
cd "$(dirname "$0")" || exit 1
|
||||
HERE=$(dirname "$0")
|
||||
cd "${HERE}" || exit 1
|
||||
|
||||
# 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