Simon Wilkinson wrote:
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.
You are correct. Without a ticket cache, on Solaris 10, aklog (1.4.5) returns a status of 4.
S.
-- Douglas E. Engert <[EMAIL PROTECTED]> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ OpenAFS-info mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-info
