summaryrefslogtreecommitdiff
path: root/utils/rmauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rmauth.c')
-rw-r--r--utils/rmauth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/rmauth.c b/utils/rmauth.c
index 77169826..4c68cd18 100644
--- a/utils/rmauth.c
+++ b/utils/rmauth.c
@@ -1,6 +1,6 @@
/* Remove authentication from selected processes
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -48,7 +48,7 @@ static struct argp_child child_argps[] = {{ &frobauth_ea_argp }, { 0 }};
static char doc[] =
"Remove user/group ids from the authentication of selected processes";
-void
+int
main (int argc, char *argv[])
{
int save = 0; /* save effective ids */
@@ -115,7 +115,7 @@ main (int argc, char *argv[])
argp_parse (&argp, argc, argv, 0, 0, &frobauth);
if (frobauth_modify (&frobauth, 0, 0, modify, print_info, 0))
- exit (0);
+ return 0;
else
- exit (1);
+ return 1;
}