summaryrefslogtreecommitdiffstats
path: root/tdesu/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu/process.cpp')
-rw-r--r--tdesu/process.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdesu/process.cpp b/tdesu/process.cpp
index d52308f63..09deda5bf 100644
--- a/tdesu/process.cpp
+++ b/tdesu/process.cpp
@@ -363,9 +363,9 @@ int PtyProcess::exec(const TQCString &command, const QCStringList &args)
// set temporarily LC_ALL to C, for su (to be able to parse "Password:")
const char* old_lc_all = getenv( "LC_ALL" );
if( old_lc_all != NULL )
- setenv( "KDESU_LC_ALL", old_lc_all, 1 );
+ setenv( "TDESU_LC_ALL", old_lc_all, 1 );
else
- unsetenv( "KDESU_LC_ALL" );
+ unsetenv( "TDESU_LC_ALL" );
setenv("LC_ALL", "C", 1);
// From now on, terminal output goes through the tty.