Skip to content

Commit 1128eaa

Browse files
authored
fix: add missing semicolon after chmod in env shell command (#955)
1 parent db56894 commit 1128eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdagent/utils/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _get_path_stem(path: str) -> str | None:
262262
f"/bin/sh -c 'timeout --kill-after=10 {self.conf.running_timeout_period} {entry}; "
263263
+ "entry_exit_code=$?; "
264264
+ (
265-
f"{_get_chmod_cmd(self.conf.mount_path)}"
265+
f"{_get_chmod_cmd(self.conf.mount_path)}; "
266266
# We don't have to change the permission of the cache and input folder to remove it
267267
# + f"if [ -d {self.conf.mount_path}/cache ]; then chmod 777 {self.conf.mount_path}/cache; fi; " +
268268
# f"if [ -d {self.conf.mount_path}/input ]; then chmod 777 {self.conf.mount_path}/input; fi; "

0 commit comments

Comments
 (0)