Changes in uspace/app/bdsh/input.c [193d280c:1569a9b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
r193d280c r1569a9b 73 73 74 74 char *cmd[WORD_MAX]; 75 int rc = 0;75 int rc = EOK; 76 76 tokenizer_t tok; 77 77 unsigned int i, pipe_count, processed_pipes; … … 82 82 if (usr->line == NULL) { 83 83 free(tokens_buf); 84 return CL_EFAIL;84 return EINVAL; 85 85 } 86 86 … … 198 198 } 199 199 200 rc = run_command(cmd, usr, &new_iostate); 200 if (run_command(cmd, usr, &new_iostate) == 0) { 201 rc = EOK; 202 } else { 203 rc = EINVAL; 204 } 201 205 202 206 finit_with_files:
Note:
See TracChangeset
for help on using the changeset viewer.