File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,9 @@ fn commands_vec_loader(
189189 progs : Arc < Option < Vec < String > > > ,
190190 commands_vec : & mut Vec < Command > ,
191191) {
192- let mut wall_sent = false ;
193192 if let Some ( prog_vec) = progs. as_deref ( ) {
194193 for prog_str in prog_vec. iter ( ) {
194+ let mut wall_sent = false ;
195195 let mut prog_split = prog_str. split_whitespace ( ) ;
196196 let mut curr_command = Command :: new ( prog_split. next ( ) . unwrap ( ) ) ;
197197 for word in prog_split {
@@ -206,7 +206,6 @@ fn commands_vec_loader(
206206 //if the filepath has been placed previously, this ensures that we dont place it again at the end
207207 if wall_sent == false {
208208 curr_command. arg ( filepath_set) ;
209- wall_sent = true ;
210209 }
211210 commands_vec. push ( curr_command) ;
212211 }
You can’t perform that action at this time.
0 commit comments