From 1d2a1dac9940c0aca586b485390d1c93febc1cba Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 12 Feb 2019 04:29:22 +0100 Subject: [PATCH] Adjust script output. --- update_nextcloud.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/update_nextcloud.sh b/update_nextcloud.sh index 24fc84d..4a2caf2 100755 --- a/update_nextcloud.sh +++ b/update_nextcloud.sh @@ -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