user: sh: Minor fixes in pipe handling
commit61445f9c4601d683c678aee064cd24692f011316
authorLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Mon, 10 Dec 2007 13:04:18 +0000 (10 11:04 -0200)
committerLuiz Fernando N. Capitulino <lcapitulino@gmail.com>
Mon, 10 Dec 2007 13:04:18 +0000 (10 11:04 -0200)
tree1f90b6cd562f5794d443579b58ed4145df6a9f1c
parent08980a32250cb4cfd7f955380e9d95f1476e7ae6
user: sh: Minor fixes in pipe handling

- Check if fork() returned error
- Remove useless break statement

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@gmail.com>
src/user/sh.c