On Fri, 22 Feb 2008, Douglas E. Engert wrote:

Looks like it always returns 0!
OpenAFS 1.4.6 src/aklog/aklog.c has:

int
main(int argc, char *argv[])
{
    aklog(argc, argv);
    exit(0);
}

But, the aklog function itself makes liberal use of exit() in error situations. aklog (the binary) certainly returns non-zero when the user doesn't have tokens.

S.


_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to