No return value check on gnusocial due to expected warnings

This commit is contained in:
Bob Mottram 2016-02-19 22:53:13 +00:00
parent 1a647c1a7a
commit 23d1dfbdbe
1 changed files with 6 additions and 5 deletions

View File

@ -8811,11 +8811,12 @@ function install_gnu_social {
--admin-pass="$MICROBLOG_ADMIN_PASSWORD" \
--site-profile="community" \
--ssl=${gnu_social_ssl}
if [ ! "$?" = "0" ]; then
# failed to install
echo $'Could not install GNU Social'
exit 72357
fi
# There can be a lot of warnings here so the return value check is disabled
#if [ ! "$?" = "0" ]; then
# # failed to install
# echo $'Could not install GNU Social'
# exit 72357
#fi
# check microblog has a config file
microblog_config_file=/var/www/$MICROBLOG_DOMAIN_NAME/htdocs/config.php