mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
updated su options in script
This commit is contained in:
parent
7fdcd75a7c
commit
fa809ee17b
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ else
|
|||
$passwd=$passwdStruct[1];
|
||||
$encryptedPWD = crypt($pwdIN, $passwd);
|
||||
$classpath=$ENV{CLASSPATH};
|
||||
$suOptions="-lp";
|
||||
$suOptions="-p";
|
||||
|
||||
if ($passwd eq $encryptedPWD)
|
||||
{
|
||||
|
@ -45,7 +45,7 @@ else
|
|||
$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;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue