Willy Tarreau
8b15ba19c3
MEDIUM: improve config check return codes
...
When checking a configuration file using "-c -f xxx", sometimes it is
reported that a config is valid while it will later fail (eg: no enabled
listener). Instead, let's improve the return values :
- return 0 if config is 100% OK
- return 1 if config has errors
- return 2 if config is OK but no listener nor peer is enabled
2012-02-02 17:53:37 +01:00
..
2011-12-30 17:33:26 +01:00
2011-06-25 21:07:01 +02:00
2011-03-13 22:00:24 +01:00
2011-12-30 17:33:26 +01:00
2010-10-30 19:04:33 +02:00
2011-11-28 21:01:28 +01:00
2012-02-02 17:53:37 +01:00
2011-10-31 11:53:20 +01:00
2010-05-09 21:19:08 +02:00
2012-01-09 11:53:09 +01:00
2011-09-10 18:01:41 +02:00
2011-09-10 18:01:41 +02:00
2011-09-10 18:01:41 +02:00
2011-09-10 18:01:41 +02:00
2011-09-10 18:01:41 +02:00
2010-11-19 13:25:10 +01:00
2010-08-10 14:01:09 +02:00
2011-12-30 17:33:26 +01:00
2012-02-02 17:53:37 +01:00
2011-10-24 18:15:04 +02:00
2010-11-14 17:09:33 +01:00
2010-11-29 07:28:16 +01:00
2009-10-26 21:10:04 +01:00
2009-10-26 21:10:04 +01:00
2010-03-12 06:22:16 +01:00
2011-10-31 14:09:19 +01:00
2009-04-21 02:17:45 +02:00
2011-12-30 17:33:25 +01:00
2012-01-07 22:52:12 +01:00
2011-10-24 17:09:22 +02:00
2012-01-23 15:35:52 +01:00
2011-12-30 17:33:26 +01:00
2011-07-24 19:09:37 +02:00
2011-12-30 17:33:26 +01:00
2011-10-31 14:09:19 +01:00
2012-01-20 16:18:53 +01:00
2007-01-07 02:12:57 +01:00
2010-01-28 18:10:50 +01:00
2008-07-16 10:30:42 +02:00
2012-01-09 14:27:13 +01:00
2008-08-13 23:43:26 +02:00
2010-08-27 18:26:11 +02:00
2011-09-05 00:54:36 +02:00
2011-05-09 23:30:58 +02:00
2011-08-18 23:52:36 +02:00
2011-12-12 00:03:55 +01:00
2011-09-10 20:08:49 +02:00
2011-09-10 18:01:41 +02:00
2011-03-13 22:00:24 +01:00