cli: add PATH to env vars in rad-debug
Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
parent
5fce714ba5
commit
6569449fff
|
|
@ -60,7 +60,7 @@ fn debug(profile: &Profile) -> anyhow::Result<()> {
|
|||
let env = HashMap::from_iter(env::vars().filter_map(|(k, v)| {
|
||||
if k == "RAD_PASSPHRASE" {
|
||||
Some((k, "<REDACTED>".into()))
|
||||
} else if k.starts_with("RAD_") || k.starts_with("SSH_") {
|
||||
} else if k.starts_with("RAD_") || k.starts_with("SSH_") || k == "PATH" {
|
||||
Some((k, v))
|
||||
} else {
|
||||
None
|
||||
|
|
|
|||
Loading…
Reference in New Issue