blob: d7fa53c12dae2a3aedd967b23b130acb35d3db8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-af,v 1.3 2002/08/25 19:23:01 jlam Exp $
--- server/main.c.orig Mon Mar 23 19:48:03 1998
+++ server/main.c Mon Aug 2 19:26:45 1999
@@ -215,9 +215,11 @@
(void) setlocale(LC_CTYPE, "ja_JP.EUC");
#endif
opening();
+#ifndef __NetBSD__
if (setuid(geteuid())) {
fprintf(stderr, "error at setuid.\r\n"); exit(1);
}
+#endif
parse_arg(argc, argv);
read_runcmd();
|