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

@@ -25,9 +25,7 @@
#define SUCCESS 0
#define ERR_BAD_CONFIG 1
#define ERR_BAD_RSYNC 2
#define ERR_STOP_BACKUP 3
#define ERR_NO_RESTART 4
#define ERR_NEEDS_XLOG 5
#define ERR_DB_CON 6
#define ERR_DB_QUERY 7
#define ERR_PROMOTED 8
@@ -36,5 +34,6 @@
#define ERR_FAILOVER_FAIL 11
#define ERR_BAD_SSH 12
#define ERR_SYS_FAILURE 13
#define ERR_BAD_BASEBACKUP 14
#endif /* _ERRCODE_H_ */