Skip to content

Commit

Permalink
fix: pass up KATSU_LOG to escalated process
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed Aug 9, 2024
1 parent 53b9b38 commit e2755fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;

Expand Down

0 comments on commit e2755fa

Please sign in to comment.