Skip to content

Commit d878767

Browse files
committed
cli: Fix catching recursive shells not working
1 parent 4604bcd commit d878767

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/cloe_launch/exec.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ class Environment:
6565
"PATH": "/bin:/usr/bin",
6666
}
6767
_preserve: List[str] = [
68+
# Required for avoiding recursive invocations:
69+
"CLOE_SHELL",
6870
# Required for XDG compliance:
6971
"XDG_.*",
7072
"HOME",

0 commit comments

Comments
 (0)