Adjust script output.

This commit is contained in:
Christoph 2019-02-12 04:29:22 +01:00
parent 7bf4a82ee0
commit 1d2a1dac99

View File

@ -715,11 +715,10 @@ fi
# -
echo ""
echo " Update Nextcloud"
su -c"/usr/local/php/bin/php ${WEB_BASE_DIR}/htdocs/occ upgrade" -s /bin/bash $HTTP_USER > $log_file 2>&1
su -c"/usr/local/php/bin/php ${WEB_BASE_DIR}/htdocs/occ upgrade" -s /bin/bash $HTTP_USER
if [[ $? -eq 0 ]]; then
echo_ok
info "Updating nextcloud core was successfully.."
else
echo_failed
fatal "$(cat $log_file)"
fi