update_nextcloud.sh: empty log file at end of the script.
This commit is contained in:
@@ -1867,6 +1867,15 @@ if $(systemctl list-units --full -all | grep -Fq "notify_push") ; then
|
|||||||
fi
|
fi
|
||||||
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
|
blank_line
|
||||||
clean_up 0
|
clean_up 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user