Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5ec0e42 in mainline


Ignore:
Timestamp:
2021-08-11T23:14:20Z (2 months ago)
Author:
Manuele Conti <manuele.conti@…>
Children:
5582f285
Parents:
87eba56
Message:

Add check redirect command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    r87eba56 r5ec0e42  
    227227                        break;
    228228                }
     229
    229230                if (pipe_count > MAX_PIPES) {
    230231                        rc = ENOTSUP;
    231232                        goto finit;
    232233                }
     234        }
     235
     236        if (wait_from || wait_to) {
     237                printf("Parse error near `\\n'\n");
     238                goto finit;
    233239        }
    234240
Note: See TracChangeset for help on using the changeset viewer.