-fix install issue
This commit is contained in:
parent
1114494ace
commit
77068086b0
2 changed files with 5 additions and 2 deletions
|
@ -62,10 +62,11 @@ python ${SCRIPTPATH}/../python_apps/create-pypo-user.py
|
|||
|
||||
set +e
|
||||
php ${SCRIPTPATH}/include/airtime-install.php $@
|
||||
if [ "$?" -eq "2" ]; then
|
||||
$result=$?
|
||||
if [ "$result" -eq "2" ]; then
|
||||
#We've just finished an upgrade, so let's exit
|
||||
exit 0
|
||||
elif [ "$?" != "0" ]; then
|
||||
elif [ "$result" -ne "0" ]; then
|
||||
#There was an error, exit with error code.
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue