diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-06-06 23:56:27 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-06-06 23:56:27 +0000 |
commit | a5f5f107b01ee24d7bb2ee0dd5f926d5e05be1da (patch) | |
tree | 1ccf70083ecc2024649f31265ab698713bc98630 /usr.sbin | |
parent | 18069c8ec6020fbc985e15dac8adda1268485397 (diff) |
Fix typo in last commit for non-compiled code. Dmitry V. Levin
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/cron/do_command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/do_command.c b/usr.sbin/cron/do_command.c index 5207bb76ab8..08fdc18ee46 100644 --- a/usr.sbin/cron/do_command.c +++ b/usr.sbin/cron/do_command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: do_command.c,v 1.27 2004/06/03 19:54:04 millert Exp $ */ +/* $OpenBSD: do_command.c,v 1.28 2004/06/06 23:56:26 millert Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved @@ -22,7 +22,7 @@ */ #if !defined(lint) && !defined(LINT) -static char const rcsid[] = "$OpenBSD: do_command.c,v 1.27 2004/06/03 19:54:04 millert Exp $"; +static char const rcsid[] = "$OpenBSD: do_command.c,v 1.28 2004/06/06 23:56:26 millert Exp $"; #endif #include "cron.h" @@ -233,7 +233,7 @@ child_process(entry *e, user *u) { } } #else - if (setgid(e->pwd->pw_gid) || initgroups(usernm, e->pwd->pw_gid) { + if (setgid(e->pwd->pw_gid) || initgroups(usernm, e->pwd->pw_gid)) { fprintf(stderr, "unable to set groups for %s\n", e->pwd->pw_name); _exit(ERROR_EXIT); |