diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 9f83627f99df..c4f3e917dee1 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: script.c,v 1.8 1998/03/08 14:19:18 peter Exp $"; + "$Id: script.c,v 1.9 1998/09/19 09:45:42 des Exp $"; #endif /* not lint */ #include @@ -246,7 +246,7 @@ doshell(av) execvp(av[0], av); warn(av[0]); } else { - execl(shell, "sh", "-i", NULL); + execl(shell, shell, "-i", NULL); warn(shell); } fail();