summaryrefslogtreecommitdiffstats
path: root/tdesu/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu/process.cpp')
-rw-r--r--tdesu/process.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tdesu/process.cpp b/tdesu/process.cpp
index 0fded3184..3cbea8ec6 100644
--- a/tdesu/process.cpp
+++ b/tdesu/process.cpp
@@ -1,4 +1,4 @@
-/* vi: ts=8 sts=4 sw=4
+/*
*
* $Id$
*
@@ -50,7 +50,7 @@
#include <tdeconfig.h>
#include <kdebug.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include "process.h"
#include "tdesu_pty.h"
@@ -359,6 +359,7 @@ int PtyProcess::exec(const TQCString &command, const QCStringList &args)
putenv(const_cast<TQCString&>(*it).data());
}
unsetenv("TDE_FULL_SESSION");
+ unsetenv("XDG_RUNTIME_DIR");
// set temporarily LC_ALL to C, for su (to be able to parse "Password:")
const char* old_lc_all = getenv( "LC_ALL" );