diff --git a/update_nextcloud.sh b/update_nextcloud.sh index e253a55..fa839f5 100755 --- a/update_nextcloud.sh +++ b/update_nextcloud.sh @@ -1867,6 +1867,15 @@ if $(systemctl list-units --full -all | grep -Fq "notify_push") ; then fi fi +echononl " Empty log file.." +: > ${WEB_BASE_DIR}/logs/cloud.log > $log_file 2>&1 +if [[ $? -eq 0 ]]; then + echo_ok +else + echo_failed + error "\n\n$(cat $log_file)" +fi + blank_line clean_up 0