adjust_types.sh rewritten
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/sh -e
|
||||
#
|
||||
# 01. "should check code directly not $?"
|
||||
# shellcheck disable=2181
|
||||
@@ -23,7 +23,8 @@ if [ -e "$GLOBALS_FILE" ] ; then
|
||||
chmod +x "$GLOBALS_FILE"
|
||||
. "$GLOBALS_FILE"
|
||||
else
|
||||
die "Could not load: $GLOBALS_FILE"
|
||||
>&2 echo "Could not load: $GLOBALS_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ===================================================
|
||||
|
||||
Reference in New Issue
Block a user