Sfoglia il codice sorgente

Merge pull request #1384 from ioannidesalex/patch-1

Update v-backup-user
Serghey Rodin 8 anni fa
parent
commit
dcf0ae96a8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      bin/v-backup-user

+ 1 - 1
bin/v-backup-user

@@ -821,7 +821,7 @@ google_backup() {
     if [ "$backups_count" -ge "$BACKUPS" ]; then
     if [ "$backups_count" -ge "$BACKUPS" ]; then
         backups_rm_number=$((backups_count - BACKUPS))
         backups_rm_number=$((backups_count - BACKUPS))
         for backup in $(echo "$backup_list" |head -n $backups_rm_number); do 
         for backup in $(echo "$backup_list" |head -n $backups_rm_number); do 
-            echo -e "$(date "+%F %T") Roated gcp backup: $backup"
+            echo -e "$(date "+%F %T") Rotated gcp backup: $backup"
             $gsutil rm $backup > /dev/null 2>&1
             $gsutil rm $backup > /dev/null 2>&1
         done
         done
     fi
     fi