summaryrefslogtreecommitdiff
path: root/bin/ksh/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/main.c')
-rw-r--r--bin/ksh/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ksh/main.c b/bin/ksh/main.c
index e0fb38fcfa7..c0e5f67a18a 100644
--- a/bin/ksh/main.c
+++ b/bin/ksh/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.78 2015/12/30 09:07:00 tedu Exp $ */
+/* $OpenBSD: main.c,v 1.79 2016/03/04 15:11:06 deraadt Exp $ */
/*
* startup, main loop, environments and error handling
@@ -152,13 +152,11 @@ main(int argc, char *argv[])
kshname = argv[0];
-#ifndef MKNOD
if (pledge("stdio rpath wpath cpath fattr flock getpw proc exec tty",
NULL) == -1) {
perror("pledge");
exit(1);
}
-#endif
ainit(&aperm); /* initialize permanent Area */