diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-03-28 21:33:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-03-28 21:33:02 +0000 |
commit | c7d3a861b50e69bd7963b9064d35b957fa18fe6a (patch) | |
tree | fda7d5fd8d689441f406a4d6088fe798ef64656a | |
parent | 4e63f1bcc0ba4da4985d5da15a9f28f8d4eba961 (diff) |
if argv[0] not set, do not set it to "pdksh", but to "ksh"
-rw-r--r-- | bin/ksh/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/main.c b/bin/ksh/main.c index fb32add4231..f4f97516916 100644 --- a/bin/ksh/main.c +++ b/bin/ksh/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.36 2005/02/21 16:01:58 otto Exp $ */ +/* $OpenBSD: main.c,v 1.37 2005/03/28 21:33:01 deraadt Exp $ */ /* * startup, main loop, environments and error handling @@ -81,9 +81,9 @@ main(int argc, char *argv[]) /* make sure argv[] is sane */ if (!*argv) { - static const char *empty_argv[] = { - "pdksh", (char *) 0 - }; + static const char *empty_argv[] = { + "ksh", (char *) 0 + }; argv = (char **) empty_argv; argc = 1; |