1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #562 from holta/master

STAGE variable in /etc/iiab/iiab.env can now be 0-9 (had been restricted to 1-9)
This commit is contained in:
A Holt 2017-11-25 11:56:57 -05:00 committed by GitHub
commit 4523565895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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