Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2018 02:05:45 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335651 - head/usr.sbin/config
Message-ID:  <201806260205.w5Q25jrN077341@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806260205.w5Q25jrN077341>