Lines Matching defs:ret
49 int ret;
53 ret = set_locale();
54 if (ret != EOK) {
56 "set_locale() failed (%d): %s\n", ret, strerror(ret));
58 ret = EXIT_FAILURE;
65 ret = EXIT_FAILURE;
72 while ((ret = poptGetNextOpt(pc)) > 0)
77 if (ret != -1) {
78 BAD_POPT_PARAMS(pc, poptStrerror(ret), ret, fini);
83 BAD_POPT_PARAMS(pc, _("User not specified\n"), ret, fini);
87 ret = sss_ssh_get_ent(mem_ctx, SSS_SSH_GET_USER_PUBKEYS,
89 if (ret == ERR_NON_SSSD_USER) {
92 ret = EXIT_SUCCESS;
94 } else if (ret != EOK) {
96 "sss_ssh_get_ent() failed (%d): %s\n", ret, strerror(ret));
98 ret = EXIT_FAILURE;
104 ret = sss_ssh_format_pubkey(mem_ctx, &ent->pubkeys[i], &repr);
105 if (ret != EOK) {
108 ret, strerror(ret));
115 ret = EXIT_SUCCESS;
121 return ret;