1
0

Correction oubli push

This commit is contained in:
unfr 2025-08-13 10:54:54 +02:00
parent 5d686e5ce7
commit 21b4b513c0

View File

@ -45,6 +45,9 @@ while true; do
LOG="${DOSSIER_LOGS}${FILESANSEXT}.log"
echo -e "${VERT}DEBUT DE TRAITEMENT DE ${FILESANSEXT}${NORMAL}" | tee -a "$LOG"
if [ "$dbtype" = "mysql" ]; then
db_query "UPDATE \`$MYSQL_TABLE\` SET status = 4 WHERE id = ${id};"
fi
echo -e "${CYAN}CREATION DES PAR2${NORMAL}" | tee -a "$LOG"
parpar -s10M -S -m4096M -t16 -r20% -O -o "${FILESANSEXT}.par2" "${name}" \
> >(tee -a "$LOG") 2> >(tee -a "$LOG" >&2)