summaryrefslogtreecommitdiff
path: root/bin/ksh/exec.c
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2017-06-22 23:47:29 +0000
committerkamil <kamil@NetBSD.org>2017-06-22 23:47:29 +0000
commit7a8dcfa374f0fea9dbc24f07ab600883c44519e8 (patch)
treea4acb1b303a4a1c4f647e836726dcd19d49fc211 /bin/ksh/exec.c
parente3dc7b2427c210467f488342acefb6953771e2ad (diff)
ksh: Drop support for ISC UNIX
Diffstat (limited to 'bin/ksh/exec.c')
-rw-r--r--bin/ksh/exec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/exec.c b/bin/ksh/exec.c
index 0e6a9fdb2c5..16ba9374b99 100644
--- a/bin/ksh/exec.c
+++ b/bin/ksh/exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.18 2017/06/22 14:20:46 kamil Exp $ */
+/* $NetBSD: exec.c,v 1.19 2017/06/22 23:47:29 kamil Exp $ */
/*
* execute command tree
@@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: exec.c,v 1.18 2017/06/22 14:20:46 kamil Exp $");
+__RCSID("$NetBSD: exec.c,v 1.19 2017/06/22 23:47:29 kamil Exp $");
#endif
@@ -420,7 +420,7 @@ execute(t, flags)
#endif
restoresigs();
cleanup_proc_env();
- ksh_execve(t->str, t->args, ap, flags);
+ execve(t->str, t->args, ap);
if (errno == ENOEXEC)
scriptexec(t, ap);
else
@@ -813,7 +813,7 @@ scriptexec(tp, ap)
#endif /* SHARPBANG */
*tp->args = shellv;
- ksh_execve(tp->args[0], tp->args, ap, 0);
+ execve(tp->args[0], tp->args, ap);
/* report both the program that was run and the bogus shell */
errorf("%s: %s: %s", tp->str, shellv, strerror(errno));