mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
[369767] [multithread][dstore] Invalid Default directory in shell Launch
This commit is contained in:
parent
12a68e701a
commit
06635af9bd
1 changed files with 2 additions and 2 deletions
|
@ -191,12 +191,12 @@ public class CommandMinerThread extends MinerThread
|
|||
String userHome = null;
|
||||
Client client = _dataStore.getClient();
|
||||
|
||||
if (client != null && theOS.equals("z/OS")){ //$NON-NLS-1$
|
||||
if (client != null){ //$NON-NLS-1$
|
||||
String clientActualUserId = client.getProperty("client.username");//$NON-NLS-1$
|
||||
String clientUserId = client.getUserid();
|
||||
|
||||
userHome = client.getProperty("user.home");//$NON-NLS-1$
|
||||
if (clientUserId != null && !clientActualUserId.equals(clientUserId)){
|
||||
if (!theOS.equals("z/OS") && clientUserId != null && !clientActualUserId.equals(clientUserId)){
|
||||
suCommand = "su " + clientUserId + " -c "; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue