Invert the sense of the return from addmember() or addclub()

It didn't quite work as-is. Whoops.
This commit is contained in:
Michael Spang 2007-12-12 03:39:17 -05:00
parent 2d7801864f
commit d822f029a7
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ int addclub() {
ceo_ldap_cleanup();
ceo_krb5_cleanup();
return !krb_ok && !user_ok && !group_ok && !home_ok && quota_ok;
return krb_ok || user_ok || group_ok || home_ok || quota_ok;
}
int main(int argc, char *argv[]) {

View File

@ -144,7 +144,7 @@ int addmember() {
ceo_ldap_cleanup();
ceo_krb5_cleanup();
return !krb_ok && !user_ok && !group_ok && !home_ok && quota_ok;
return krb_ok || user_ok || group_ok || home_ok || quota_ok;
}
int main(int argc, char *argv[]) {