mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 14:13:45 -05:00
Fixed fucntion for strict variable checking
This commit is contained in:
@@ -210,7 +210,7 @@ trap trapCleanup INT TERM
|
||||
set -o errexit
|
||||
|
||||
# Exit on empty variable
|
||||
if [ "${strict}"="1" ]; then
|
||||
if [ "${strict}" = "1" ]; then
|
||||
set -o nounset
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user