Browse code

- fix/improvement: the cmd line option '-c' returns -1, no matter if config is OK or not, making it difficult to use from start scripts that want to check the config first. Now it returns 0 if the config is ok.i Patch from Bogdan Pintea <pintea@iptego.de>. Closes SER-336.

Andrei Pelinescu-Onciul authored on 23/02/2008 13:21:53
Showing 1 changed files
... ...
@@ -1626,7 +1626,7 @@ try_again:
1626 1626
 	}
1627 1627
 	if (config_check){
1628 1628
 		fprintf(stderr, "config file ok, exiting...\n");
1629
-		goto error;
1629
+		return 0;
1630 1630
 	}
1631 1631
 
1632 1632