Add rcsid, remove unused #includes, change exit(-1).
This commit is contained in:
parent
257b72c4fd
commit
8659113475
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32501
@ -31,14 +31,17 @@
|
||||
* Copyright (C) 1986, Sun Microsystems, Inc.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
* unset the secret key on local machine
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <rpc/rpc.h>
|
||||
#include <rpc/key_prot.h>
|
||||
|
||||
int
|
||||
@ -54,7 +57,7 @@ main(argc,argv)
|
||||
"keylogout by root would break all servers that use secure rpc!\n");
|
||||
fprintf(stderr,
|
||||
"root may use keylogout -f to do this (at your own risk)!\n");
|
||||
exit(-1);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user