svn commit: r335651 - head/usr.sbin/config

Kyle Evans kevans at FreeBSD.org
Tue Jun 26 02:05:46 UTC 2018


Author: kevans
Date: Tue Jun 26 02:05:45 2018
New Revision: 335651
URL: https://svnweb.freebsd.org/changeset/base/335651

Log:
  config(8): Set envmode if we accept an envvar
  
  X-MFC-With:	r335642

Modified:
  head/usr.sbin/config/config.y

Modified: head/usr.sbin/config/config.y
==============================================================================
--- head/usr.sbin/config/config.y	Tue Jun 26 00:39:38 2018	(r335650)
+++ head/usr.sbin/config/config.y	Tue Jun 26 02:05:45 2018	(r335651)
@@ -203,6 +203,7 @@ Config_spec:
 			err(EXIT_FAILURE, "calloc");
 		envvar->env_str = $2;
 		STAILQ_INSERT_TAIL(&envvars, envvar, envvar_next);
+		envmode = 1;
 	        } |
 	HINTS ID {
 		struct hint *hint;


More information about the svn-src-all mailing list