| # | Line 137 | Line 137 | int status; | |
|---|---|---|
| 137 | int rtstat; | |
| 138 | ||
| 139 | rtstat = close_process(&(rt.pd)); | |
| 140 | < | if (status == 0) |
| 140 | > | if (status == 0) { |
| 141 | if (rtstat < 0) | |
| 142 | error(WARNING, | |
| 143 | "unknown return status from rtrace process"); | |
| 144 | else | |
| 145 | status = rtstat; | |
| 146 | + | } |
| 147 | exit(status); | |
| 148 | } | |
| 149 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |