summaryrefslogtreecommitdiff
path: root/utils/setauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/setauth.c')
-rw-r--r--utils/setauth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/setauth.c b/utils/setauth.c
index a039e3c6..73f221a0 100644
--- a/utils/setauth.c
+++ b/utils/setauth.c
@@ -1,6 +1,6 @@
/* Change the authentication of 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>
@@ -52,7 +52,7 @@ static char doc[] =
extern error_t
get_nonsugid_ids (struct idvec *uids, struct idvec *gids);
-void
+int
main (int argc, char *argv[])
{
error_t err;
@@ -128,7 +128,7 @@ main (int argc, char *argv[])
error (16, err, "Authentication failure");
if (frobauth_modify (&frobauth, &auth, 1, modify, print_info, 0))
- exit (0);
+ return 0;
else
- exit (1);
+ return 1;
}