Skip to content

Commit

Permalink
cli: Fix catching recursive shells not working
Browse files Browse the repository at this point in the history
  • Loading branch information
cassava committed Nov 16, 2022
1 parent 4604bcd commit d878767
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/cloe_launch/exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ class Environment:
"PATH": "/bin:/usr/bin",
}
_preserve: List[str] = [
# Required for avoiding recursive invocations:
"CLOE_SHELL",
# Required for XDG compliance:
"XDG_.*",
"HOME",
Expand Down

0 comments on commit d878767

Please sign in to comment.