more robust test to prevent out of range error
This commit is contained in:
parent
a8aabcc316
commit
c9eb7e30b7
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
# and defines some common settings
|
# and defines some common settings
|
||||||
|
|
||||||
# Small optimization to guard against including the script unnecessarily
|
# Small optimization to guard against including the script unnecessarily
|
||||||
[ "$SXMO_COMMON_INCLUDED" -eq 1 ] && return 0;
|
[ "$SXMO_COMMON_INCLUDED" = "1" ] && return 0;
|
||||||
|
|
||||||
# we disable shellcheck SC2034 (variable not used)
|
# we disable shellcheck SC2034 (variable not used)
|
||||||
# for all the variables we define here
|
# for all the variables we define here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue