mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
changes to make daemon work with different jvms and environments
This commit is contained in:
parent
0b1a0edb5a
commit
36395e4857
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ else
|
||||||
$passwd=$passwdStruct[1];
|
$passwd=$passwdStruct[1];
|
||||||
$encryptedPWD = crypt($pwdIN, $passwd);
|
$encryptedPWD = crypt($pwdIN, $passwd);
|
||||||
$classpath=$ENV{CLASSPATH};
|
$classpath=$ENV{CLASSPATH};
|
||||||
$suOptions="-lp";
|
$suOptions="-p";
|
||||||
|
|
||||||
if ($passwd eq $encryptedPWD)
|
if ($passwd eq $encryptedPWD)
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@ else
|
||||||
$suOptions="-";
|
$suOptions="-";
|
||||||
}
|
}
|
||||||
|
|
||||||
system("su $suOptions $userIN -c 'java -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN -Xshareclasses:name=RSE,verbose'");
|
system("su $suOptions $userIN -c 'java -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'");
|
||||||
1;
|
1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue