Browse Source

check_redirect adjustment

master
10195501441 3 years ago
parent
commit
3869837f09
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      yeeshell.c

+ 1
- 1
yeeshell.c View File

@ -157,7 +157,7 @@ int check_redirect(char **args, char *redirect_filename, char **redirect_args)
if (redirect_flag == 1) /* redirect output */
{
redirect_filename = args[i + 1];
strcpy(redirect_filename, args[i + 1]);
for (j = 0; j < i; j++)
{
redirect_args[j] = args[j];

Loading…
Cancel
Save