From 7212c7473ed4da1c9af720f55a86d6e64a3fd586 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 27 Apr 1999 18:18:20 +0000 Subject: disable newgrp alias since OpenBSD doesn't have a newgrp(1) --- bin/ksh/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/ksh') 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 */ -- cgit v1.2.3