Changeset adb49f58 in mainline for uspace/app/bdsh/exec.c
- Timestamp:
- 2009-07-06T20:16:15Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95bc57c
- Parents:
- 0315679
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/exec.c
r0315679 radb49f58 113 113 { 114 114 task_id_t tid; 115 task_exit_t texit; 115 116 char *tmp; 116 117 int retval; … … 127 128 } 128 129 129 task_wait(tid, &retval); 130 if (retval != 0) 130 task_wait(tid, &texit, &retval); 131 if (texit != TASK_EXIT_NORMAL) { 132 printf("Command failed (unexpectedly terminated).\n"); 133 } else if (retval != 0) { 131 134 printf("Command failed (return value %d).\n", retval); 135 } 132 136 133 137 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.