forked from lix-project/lix
typo
This commit is contained in:
parent
6419f5028b
commit
062012eee1
|
@ -159,7 +159,7 @@ void MixEnvironment::setEnviron() {
|
|||
|
||||
for (const auto & var : keep) {
|
||||
auto val = getenv(var.c_str());
|
||||
if (val) stringEnv.emplace_back(fmt("%s=%s", var.c_str(), val));
|
||||
if (val) stringsEnv.emplace_back(fmt("%s=%s", var.c_str(), val));
|
||||
}
|
||||
vectorEnv = stringsToCharPtrs(stringsEnv);
|
||||
environ = vectorEnv.data();
|
||||
|
|
Loading…
Reference in a new issue