Fix the error of using shell task to obtain Home variable in Ubuntu system. (#14964)
This commit is contained in:
parent
020092ed1e
commit
6de1e2c1b3
|
|
@ -129,7 +129,7 @@ public abstract class BaseLinuxShellInterceptorBuilder<T extends BaseLinuxShellI
|
|||
bootstrapCommand.add("-u");
|
||||
bootstrapCommand.add(runUser);
|
||||
}
|
||||
bootstrapCommand.add("-E");
|
||||
bootstrapCommand.add("-i");
|
||||
bootstrapCommand.add(shellAbsolutePath().toString());
|
||||
return bootstrapCommand;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue