summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mbbsd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 1ea9b1b8..376cc696 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.85 2003/06/26 03:16:10 kcwu Exp $ */
+/* $Id: mbbsd.c,v 1.86 2003/06/26 03:38:02 kcwu Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -78,6 +78,9 @@ start_daemon()
exit(0);
}
#endif
+
+ if(getenv("SSH_CLIENT"))
+ unsetenv("SSH_CLIENT");
}
static void