diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1997-12-30 01:20:08 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1997-12-30 01:20:08 +0000 |
| commit | 0e604e984ac44b6279909e5444afee66cea13435 (patch) | |
| tree | ff14ce1711e284617485d269a8c93ec05b6aabf3 /usr.bin/script/script.c | |
| parent | a228025e10b394029fb202926a3022afbcd76415 (diff) | |
Notes
Diffstat (limited to 'usr.bin/script/script.c')
| -rw-r--r-- | usr.bin/script/script.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index f02f86821fe2..94e4ce08a594 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.5 1997/08/08 12:24:49 charnier Exp $"; + "$Id: script.c,v 1.6 1997/12/29 13:31:46 peter Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -97,7 +97,7 @@ main(argc, argv) aflg = 1; break; case 'q': - aflg = 1; + qflg = 1; break; case '?': default: @@ -228,7 +228,7 @@ doshell(av) (void)fclose(fscript); login_tty(slave); if (av[0]) - execv(av[0], av); + execvp(av[0], av); else execl(shell, "sh", "-i", NULL); warn(shell); |
