summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/crontab.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-21 21:03:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-21 21:03:26 +0000
commit1d5c3467d92898092243de92c2ab7ac0f3b7f6b9 (patch)
treed653101535f7851beefb8dd44e6b50ed65f670cd /usr.sbin/cron/crontab.c
parent3a807e70a3fcf019dbef22e871ab5081f2bcd501 (diff)
swap_uids_back; solar@false.com
Diffstat (limited to 'usr.sbin/cron/crontab.c')
-rw-r--r--usr.sbin/cron/crontab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab.c b/usr.sbin/cron/crontab.c
index 11624c70aaa..4f7c505b761 100644
--- a/usr.sbin/cron/crontab.c
+++ b/usr.sbin/cron/crontab.c
@@ -16,7 +16,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char rcsid[] = "$Id: crontab.c,v 1.15 1999/11/20 20:45:16 millert Exp $";
+static char rcsid[] = "$Id: crontab.c,v 1.16 2000/08/21 21:03:25 deraadt Exp $";
#endif
/* crontab - install and manage per-user crontab files
@@ -242,7 +242,7 @@ parse_args(argc, argv)
perror(Filename);
exit(ERROR_EXIT);
}
- if (swap_uids() < OK) {
+ if (swap_uids_back() < OK) {
perror("swapping uids back");
exit(ERROR_EXIT);
}