Changeset 820babc


Ignore:
Timestamp:
Jul 16, 2013 10:11:39 AM (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
db74f56, e949bab
Parents:
1ac96e6
Message:

We like to keep the users $SHELL intact ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/pcdm-xprocess.cpp

    r1ac96e6 r820babc  
    150150  environ.insert("GROUP",xuser); //Set the proper group id 
    151151  environ.insert("SHLVL","0"); //Set the proper shell level 
    152   environ.insert("DISPLAY",":0"); //Set the proper shell level 
    153152  environ.insert("HOME",xhome); //Set the users home directory 
    154153  this->setProcessEnvironment(environ); 
     
    239238  setenv("GROUP",xuser.toUtf8(),1); 
    240239  setenv("HOME",xhome.toUtf8(),1); 
     240  setenv("SHELL",pw->pw_shell,1); 
    241241  setenv("SHLVL","0",1); 
    242242  chdir(xhome.toUtf8()); //move to home dir 
Note: See TracChangeset for help on using the changeset viewer.