Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9c7eae6

Browse files
committed
fix exit code
1 parent 4b58d2e commit 9c7eae6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/validate.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,10 @@ do_validate_all(void)
230230
}
231231

232232
if (corrupted_backup_found)
233+
{
233234
elog(INFO, "Some backups are not valid");
235+
return 1;
236+
}
234237
else
235238
elog(INFO, "All backups are valid");
236239

0 commit comments

Comments
 (0)