aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-01-28 07:06:54 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-01-28 07:06:54 +0000
commit0b4df2eec20a279f9a71c3d4a2dd64164b8a255d (patch)
tree46753a9e3dd328b07e4419cffae7785643a858a8 /libexec/ftpd
parent5f9a0f6762edcdc7a0bed6c43650286d6dfb6d4c (diff)
Notes
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 71565cf1c4d3..8708ebf4ec5f 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1644,6 +1644,11 @@ void
dologout(status)
int status;
{
+ /*
+ * Prevent reception of SIGURG from resulting in a resumption
+ * back to the main program loop.
+ */
+ transflag = 0;
if (logged_in) {
(void) seteuid((uid_t)0);