mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-11-29 09:42:27 +02:00
fix exit code
This commit is contained in:
parent
4b58d2e52b
commit
9c7eae6753
@ -230,7 +230,10 @@ do_validate_all(void)
|
||||
}
|
||||
|
||||
if (corrupted_backup_found)
|
||||
{
|
||||
elog(INFO, "Some backups are not valid");
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
elog(INFO, "All backups are valid");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user