summaryrefslogtreecommitdiffstats
path: root/kdesu
diff options
context:
space:
mode:
Diffstat (limited to 'kdesu')
-rw-r--r--kdesu/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesu/process.cpp b/kdesu/process.cpp
index f5fb7d34e..d50e188f5 100644
--- a/kdesu/process.cpp
+++ b/kdesu/process.cpp
@@ -358,7 +358,7 @@ int PtyProcess::exec(const TQCString &command, const QCStringList &args)
{
putenv(const_cast<TQCString&>(*it).data());
}
- unsetenv("KDE_FULL_SESSION");
+ unsetenv("TDE_FULL_SESSION");
// set temporarily LC_ALL to C, for su (to be able to parse "Password:")
const char* old_lc_all = getenv( "LC_ALL" );