Skip to content

Commit 7054d42

Browse files
committed
[Issue #120] report the number of deleted backups
1 parent 9864f58 commit 7054d42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/delete.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,8 @@ do_delete_status(InstanceConfig *instance_config, const char *status)
10661066
}
10671067

10681068
if (n_deleted > 0)
1069-
elog(INFO, "Successfully deleted all backups with status '%s' from instance '%s'",
1069+
elog(INFO, "Successfully deleted %i %s with status '%s' from instance '%s'",
1070+
n_deleted, n_deleted == 1 ? "backup" : "backups",
10701071
pretty_status, instance_config->name);
10711072
else
10721073
elog(WARNING, "Instance '%s' has no backups with status '%s'",

0 commit comments

Comments
 (0)