diff --git a/src/testutil.c b/src/testutil.c index bfae794..f2907c5 100644 --- a/src/testutil.c +++ b/src/testutil.c @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) { fputs("fail: expected ' ' line\n", stdout); continue; } - if (oal_check_cred(config, username, password) == 0) { + if (oal_check_cred(config, username, password) > 0) { fputs("ok\n", stdout); } else { fprintf(stderr, "fail: %s\n", config->error);