Lines Matching defs:exit_code
641 * to return and return its exit code in *exit_code. Otherwise set
642 * *exit_code to 0 if the method succeeds & -1 if it fails. If the
656 method_run(restarter_inst_t **instp, int type, int *exit_code)
686 *exit_code = 0;
1020 *exit_code = WEXITSTATUS(ret_status);
1021 if (*exit_code != 0) {
1028 "%d.", mname, *exit_code);
1030 if (*exit_code != 0)
1078 if ((transient || *exit_code != 0 || result != 0) &&
1114 int r, exit_code;
1170 r = method_run(&inst, info->sf_method_type, &exit_code);
1172 if (r == 0 && exit_code == 0) {
1208 switch (exit_code) {
1229 else if (exit_code == SMF_EXIT_ERR_CONFIG)
1231 else if (exit_code == SMF_EXIT_ERR_FATAL)