|
|
@ -1,4 +1,4 @@ |
|
|
|
/* $OpenBSD: passwd.c,v 1.28 2001/08/26 03:28:30 millert Exp $ */ |
|
|
|
/* $OpenBSD: passwd.c,v 1.29 2001/11/14 19:50:23 deraadt Exp $ */ |
|
|
|
|
|
|
|
/* |
|
|
|
* Copyright (c) 1987, 1993, 1994, 1995 |
|
|
@ -34,7 +34,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
#if defined(LIBC_SCCS) && !defined(lint) |
|
|
|
static char rcsid[] = "$OpenBSD: passwd.c,v 1.28 2001/08/26 03:28:30 millert Exp $"; |
|
|
|
static char rcsid[] = "$OpenBSD: passwd.c,v 1.29 2001/11/14 19:50:23 deraadt Exp $"; |
|
|
|
#endif /* LIBC_SCCS and not lint */ |
|
|
|
|
|
|
|
#include <sys/types.h> |
|
|
@ -336,9 +336,11 @@ static void |
|
|
|
pw_cont(sig) |
|
|
|
int sig; |
|
|
|
{ |
|
|
|
int save_errno = errno; |
|
|
|
|
|
|
|
if (editpid != -1) |
|
|
|
kill(editpid, sig); |
|
|
|
errno = save_errno; |
|
|
|
} |
|
|
|
|
|
|
|
void |
|
|
|