Skip to content

Commit

Permalink
get bypass-root-check from the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
viperML committed Aug 20, 2024
1 parent a014415 commit 3dc7cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub struct OsRebuildArgs {
pub extra_args: Vec<String>,

/// Bypass the check to call nh as root directly.
#[arg(short = 'R', long)]
#[arg(short = 'R', long, env = "NH_BYPASS_ROOT_CHECK")]
pub bypass_root_check: bool,
}

Expand Down

0 comments on commit 3dc7cdc

Please sign in to comment.