svn commit: r210909 - head/sbin/hastctl

Doug Barton dougb at FreeBSD.org
Fri Aug 6 05:20:22 UTC 2010


Author: dougb
Date: Fri Aug  6 05:20:21 2010
New Revision: 210909
URL: http://svn.freebsd.org/changeset/base/210909

Log:
  Update the arguments to yy_config_parse() to match r210883.
  
  Choose the more conservative option ('yes' to exit on error) to match
  the equivalent code in hastd.

Modified:
  head/sbin/hastctl/hastctl.c

Modified: head/sbin/hastctl/hastctl.c
==============================================================================
--- head/sbin/hastctl/hastctl.c	Fri Aug  6 02:17:58 2010	(r210908)
+++ head/sbin/hastctl/hastctl.c	Fri Aug  6 05:20:21 2010	(r210909)
@@ -432,7 +432,7 @@ main(int argc, char *argv[])
 
 	pjdlog_debug_set(debug);
 
-	cfg = yy_config_parse(cfgpath);
+	cfg = yy_config_parse(cfgpath, true);
 	assert(cfg != NULL);
 
 	switch (cmd) {


More information about the svn-src-all mailing list