mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
legal inputs are now 0-9 (not 1-9) due to Line 92
(In the past, the only valid values for the STAGE variable in /etc/iiab/iiab.env were 1-thru-9)
This commit is contained in:
parent
5c5adcb9cb
commit
00d91ce7fd
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ if [ -f /etc/iiab/iiab.env ]; then
|
|||
if ! [ "$STAGE" -eq "$STAGE" ] 2> /dev/null; then
|
||||
echo -e "\nEXITING: STAGE (counter) value == "$STAGE" is non-integer in /etc/iiab/iiab.env"
|
||||
exit 1
|
||||
elif [ "$STAGE" -lt 1 ] || [ "$STAGE" -gt 9 ]; then
|
||||
elif [ "$STAGE" -lt 0 ] || [ "$STAGE" -gt 9 ]; then
|
||||
echo -e "\nEXITING: STAGE (counter) value == "$STAGE" is out-of-range in /etc/iiab/iiab.env"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue