summaryrefslogtreecommitdiff
path: root/bin/ksh
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-04-27 18:18:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-04-27 18:18:20 +0000
commit7212c7473ed4da1c9af720f55a86d6e64a3fd586 (patch)
tree0823106654245e383d9adfd46b2e23c6ab49de1f /bin/ksh
parent6179cbf10b080a86977c9038fc4e044180d4f2c2 (diff)
disable newgrp alias since OpenBSD doesn't have a newgrp(1)
Diffstat (limited to 'bin/ksh')
-rw-r--r--bin/ksh/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ksh/main.c b/bin/ksh/main.c
index 2d591844f09..1b2dbe531cd 100644
--- a/bin/ksh/main.c
+++ b/bin/ksh/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.13 1999/01/10 17:55:03 millert Exp $ */
+/* $OpenBSD: main.c,v 1.14 1999/04/27 18:18:19 millert Exp $ */
/*
* startup, main loop, enviroments and error handling
@@ -80,7 +80,9 @@ static const char *const initcoms [] = {
#ifdef KSH
/* Aliases that are builtin commands in at&t */
"login=exec login",
+#ifndef __OpenBSD__
"newgrp=exec newgrp",
+#endif /* __OpenBSD__ */
#endif /* KSH */
NULL,
/* this is what at&t ksh seems to track, with the addition of emacs */