cli: add PATH to env vars in rad-debug

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-03-18 13:14:50 +01:00
committed by Alexis Sellier
parent 5fce714ba5
commit 6569449fff
+1 -1
View File
@@ -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