@@ -31,15 +31,15 @@ do_delete(pgBackupRange *range)
31
31
elog (ERROR_ALREADY_RUNNING ,
32
32
"another pg_arman is running, stop delete." );
33
33
34
- /* Get complete list ofbackup */
34
+ /* Get complete list ofbackups */
35
35
backup_list = catalog_get_backup_list (NULL );
36
36
if (!backup_list )
37
37
elog (ERROR_SYSTEM ,"No backup list found, can't process any more." );
38
38
39
39
/* Find backups to be deleted */
40
40
for (i = 0 ;i < parray_num (backup_list );i ++ )
41
41
{
42
- pgBackup * backup = (pgBackup * )parray_get (backup_list ,i );
42
+ pgBackup * backup = (pgBackup * )parray_get (backup_list ,i );
43
43
44
44
/* delete backup and update status to DELETED */
45
45
if (do_delete )
@@ -173,8 +173,7 @@ pgBackupDeleteFiles(pgBackup *backup)
173
173
parray * files ;
174
174
175
175
/*
176
- * If the backup was deleted already, nothing to do and such situation
177
- * is not error.
176
+ * If the backup was deleted already, there is nothing to do.
178
177
*/
179
178
if (backup -> status == BACKUP_STATUS_DELETED )
180
179
return 0 ;
@@ -184,7 +183,7 @@ pgBackupDeleteFiles(pgBackup *backup)
184
183
elog (INFO ,"delete: %s" ,timestamp );
185
184
186
185
/*
187
- *update STATUS to BACKUP_STATUS_DELETING in preparation for the case which
186
+ *Update STATUS to BACKUP_STATUS_DELETING in preparation for the case which
188
187
* the error occurs before deleting all backup files.
189
188
*/
190
189
if (!check )