Skip to content

Commit

Permalink
Fix wrong root check
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Nov 5, 2023
1 parent a483b35 commit 7fe9fbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ async fn handle_default(config: &mut Config) -> Result<i32> {
}
} else if !config.targets.is_empty() {
config.interactive = true;
config.need_root = true;
handle_sync(config).await?;
Ok(0)
} else {
Expand Down

0 comments on commit 7fe9fbf

Please sign in to comment.