Fix shell exit issue in web/start.sh

This commit is contained in:
nucleogenic 2022-09-20 01:56:22 +01:00
parent 8062e5f5d7
commit 65c2286ffe
No known key found for this signature in database
GPG Key ID: 04A5E4E319C4271D

View File

@ -62,8 +62,7 @@ if ! test -e venv; then
pip3 install wheel
pip3 install -r requirements.txt
git rev-parse --is-inside-work-tree &> /dev/null
if [[ $? -eq 0 ]]; then
if git rev-parse --is-inside-work-tree &> /dev/null; then
git rev-parse HEAD > current
fi
fi