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;