This is an automated email from the ASF dual-hosted git repository. zhongjiajie pushed a commit to branch 3.2.0-release in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit cb80df45703bc05b06a5254bf5d4d17607283066 Author: Kerwin <[email protected]> AuthorDate: Tue Sep 26 17:18:38 2023 +0800 Fix the error of using shell task to obtain Home variable in Ubuntu system. (#14964) (cherry picked from commit 6de1e2c1b39da7031d790efa6f44d1aef4faa14c) --- .../plugin/task/api/shell/BaseLinuxShellInterceptorBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/shell/BaseLinuxShellInterceptorBuilder.java b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/shell/BaseLinuxShellInterceptorBuilder.java index 83aa8230d8..5816681e75 100644 --- a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/shell/BaseLinuxShellInterceptorBuilder.java +++ b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/shell/BaseLinuxShellInterceptorBuilder.java @@ -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; }
