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:
commit
4523565895
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