1
0
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:
Anastasia 2017-06-26 16:47:24 +03:00
parent 4b58d2e52b
commit 9c7eae6753

View File

@ -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");