Skip to content

Commit

Permalink
Merge pull request #993 from cyyzero/exec_rm_dup
Browse files Browse the repository at this point in the history
Remove duplicated assignment
  • Loading branch information
utam0k authored Jun 20, 2022
2 parents c1d8b62 + b78fdc2 commit c2a0724
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 c2a0724

Please sign in to comment.