Skip to content

Commit

Permalink
Remove duplicated assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyzero committed Jun 19, 2022
1 parent c1d8b62 commit 1fed762
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/youki/src/commands/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub fn exec(args: Exec, root_path: PathBuf) -> Result<()> {
.with_env(args.env.clone().into_iter().collect())
.with_process(args.process.as_ref())
.with_no_new_privs(args.no_new_privs)
.with_process(args.process.as_ref())
.with_container_args(args.command.clone())
.build()
}

0 comments on commit 1fed762

Please sign in to comment.