contrib/chg/chg.c
changeset 28851 584e0716c7af
parent 28790 b0cc9652e8dc
child 28852 7b5f5a1b4b41
equal deleted inserted replaced
28850:3819c349b194 28851:584e0716c7af
   264 		debugmsg("cmdserver exited with status %d", WEXITSTATUS(pst));
   264 		debugmsg("cmdserver exited with status %d", WEXITSTATUS(pst));
   265 		exit(WEXITSTATUS(pst));
   265 		exit(WEXITSTATUS(pst));
   266 	} else if (WIFSIGNALED(pst)) {
   266 	} else if (WIFSIGNALED(pst)) {
   267 		abortmsg("cmdserver killed by signal %d", WTERMSIG(pst));
   267 		abortmsg("cmdserver killed by signal %d", WTERMSIG(pst));
   268 	} else {
   268 	} else {
   269 		abortmsg("error white waiting cmdserver");
   269 		abortmsg("error while waiting for cmdserver");
   270 	}
   270 	}
   271 	return NULL;
   271 	return NULL;
   272 }
   272 }
   273 
   273 
   274 /* Connect to a cmdserver. Will start a new server on demand. */
   274 /* Connect to a cmdserver. Will start a new server on demand. */