From e2755fa9c53867bdf1e04f38eacda8a144ee751d Mon Sep 17 00:00:00 2001 From: Lleyton Gray Date: Thu, 8 Aug 2024 22:30:43 -0700 Subject: [PATCH] fix: pass up KATSU_LOG to escalated process --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index d17c527..f7cb96f 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -85,7 +85,7 @@ impl std::str::FromStr for OutputFormat { pub fn parse(cli: KatsuCli) -> Result<()> { // load manifest from config file - sudo::escalate_if_needed().unwrap(); + sudo::with_env(&["KATSU_LOG"]).unwrap(); let mut manifest = Manifest::load_all(&cli.config.unwrap(), cli.output)?;