Clean up exit error codes

This commit is contained in:
Ian Barwick
2015-01-05 09:36:48 +09:00
parent 38de150436
commit f23c43b986
3 changed files with 15 additions and 13 deletions

View File

@@ -1137,7 +1137,7 @@ stop_backup:
log_err(_("Unable to take a base backup of the primary server\n"));
log_warning(_("The destination directory (%s) will need to be cleaned up manually\n"),
local_data_directory);
exit(ERR_BAD_RSYNC);
exit(ERR_BAD_BASEBACKUP);
}
log_notice(_("%s base backup of standby complete\n"), progname);