Refs #8359: 8359-Backup_node_PVE - Final Script - Adding a sleep command in the for loop to prevent bugs caused by the loop running too quickly.
This commit is contained in:
parent
de22ad7efe
commit
82b96bcd54
|
@ -135,6 +135,7 @@ for item in $(echo "$BACKUP_ITEMS" | tr ',' '\n'); do
|
|||
echo "Backup failed for $BACKUP_NAME" | tee -a "$LOG_FILE"
|
||||
exit 1
|
||||
fi
|
||||
sleep 5
|
||||
done
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue