From 243438da27ad75589d1fe02c47a4836c4c42a665 Mon Sep 17 00:00:00 2001 From: 10195501441 <10195501441@stu.ecnu.edu.com> Date: Tue, 16 Mar 2021 16:56:15 +0800 Subject: [PATCH] check_redirect adjustment --- yeeshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yeeshell.c b/yeeshell.c index 1925923..0146d0c 100644 --- a/yeeshell.c +++ b/yeeshell.c @@ -169,7 +169,7 @@ int check_redirect(char **args, char *redirect_filename, char **redirect_args) i++; while (args[i] != NULL) { - redirect_args[j++] = args[i++]); + redirect_args[j++] = args[i++]; } } return redirect_flag;