Changeset 16472 for trunk/Ohana/src/opihi/pcontrol/rconnect.c
- Timestamp:
- Feb 13, 2008, 5:53:35 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/rconnect.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/rconnect.c
r13720 r16472 58 58 status = execvp (argv[0], argv); 59 59 gprint (GP_ERR, "error starting remote shell process\n"); 60 pcontrol_exit ( 1);60 pcontrol_exit (60); 61 61 } 62 62 free (argv); … … 122 122 if ((result == -1) && (errno != ECHILD)) { 123 123 gprint (GP_ERR, "unexpected error from waitpid (%d): programming error\n", errno); 124 pcontrol_exit ( 1);124 pcontrol_exit (61); 125 125 } 126 126 if (result == 0) { … … 130 130 if (result != pid) { 131 131 gprint (GP_ERR, "waitpid error: mis-matched PID (%d vs %d). programming error\n", result, pid); 132 pcontrol_exit ( 1);132 pcontrol_exit (62); 133 133 } 134 134 if (WIFSTOPPED(waitstatus)) { 135 135 gprint (GP_ERR, "waitpid returns 'stopped': programming error\n"); 136 pcontrol_exit ( 1);136 pcontrol_exit (63); 137 137 } 138 138 }
Note:
See TracChangeset
for help on using the changeset viewer.
