diff options
Diffstat (limited to 'libexec/rlogind/rlogind.c')
-rw-r--r-- | libexec/rlogind/rlogind.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index 8740d14..866cbb0 100644 --- a/libexec/rlogind/rlogind.c +++ b/libexec/rlogind/rlogind.c @@ -42,7 +42,7 @@ static const char copyright[] = static const char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: rlogind.c,v 1.22 1999/04/07 08:27:42 brian Exp $"; + "$Id: rlogind.c,v 1.23 1999/04/25 22:23:37 imp Exp $"; #endif /* not lint */ /* @@ -549,9 +549,11 @@ cleanup(signo) p = line + sizeof(_PATH_DEV) - 1; if (logout(p)) logwtmp(p, "", ""); + (void)cflags(line, 0); (void)chmod(line, 0666); (void)chown(line, 0, 0); *p = 'p'; + (void)cflags(line, 0); (void)chmod(line, 0666); (void)chown(line, 0, 0); shutdown(netf, 2); |