From 0137a2f49f367b888ab7434bb85aa8f3a171b73f Mon Sep 17 00:00:00 2001 From: "(null)" Date: Thu, 28 Dec 2023 03:14:48 -0500 Subject: [PATCH] fix duplicating arguments issue --- xc/src/models/exec.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xc/src/models/exec.rs b/xc/src/models/exec.rs index 485e4ad..a9a45fd 100644 --- a/xc/src/models/exec.rs +++ b/xc/src/models/exec.rs @@ -260,10 +260,6 @@ impl Exec { for arg in self.default_args.iter() { argv.push(arg.apply(&resolved_envs)); } - } else { - for arg in args { - argv.push(arg.to_string()); - } } let uid = self.user.as_ref().and_then(|user| user.parse::().ok());