Rev 4327 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4327 | Rev 4581 | ||
---|---|---|---|
Line 121... | Line 121... | ||
121 | free(tmp); |
121 | free(tmp); |
122 | 122 | ||
123 | if (tid == 0) { |
123 | if (tid == 0) { |
124 | cli_error(CL_EEXEC, "Cannot spawn `%s'.", cmd); |
124 | cli_error(CL_EEXEC, "Cannot spawn `%s'.", cmd); |
125 | return 1; |
125 | return 1; |
126 | } else { |
- | |
127 | return 0; |
- | |
128 | } |
126 | } |
- | 127 | ||
- | 128 | task_wait(tid); |
|
- | 129 | return 0; |
|
129 | } |
130 | } |