Skip to content

Commit

Permalink
fix: softwareupdate under dry run (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
schrobingus authored Jan 27, 2024
1 parent 77ff6cb commit 30c5b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/os/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn run_mas(ctx: &ExecutionContext) -> Result<()> {
pub fn upgrade_macos(ctx: &ExecutionContext) -> Result<()> {
print_separator("macOS system update");

let should_ask = !(ctx.config().yes(Step::System)) || (ctx.config().dry_run());
let should_ask = !(ctx.config().yes(Step::System) || ctx.config().dry_run());
if should_ask {
println!("Finding available software");
if system_update_available()? {
Expand Down

0 comments on commit 30c5b31

Please sign in to comment.