startup: Don't forward sourced environment variables that describe the helper process

wilder-5.17
Aleix Pol 7 years ago
parent e899d8068a
commit 0ee874cd9e
  1. 2
      startkde/startplasma.cpp

@ -94,7 +94,7 @@ void sourceFiles(const QStringList &files)
auto envs = fullEnv.split('\n');
for (auto &env: envs) {
if (env.startsWith("_="))
if (env.startsWith("_=") || env.startsWith("SHLVL"))
continue;
const int idx = env.indexOf('=');

Loading…
Cancel
Save