=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/more/Attic/more.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/more/Attic/more.c 2001/09/04 23:35:59 1.13 --- src/usr.bin/more/Attic/more.c 2001/09/05 22:32:41 1.14 *************** *** 1,4 **** ! /* $OpenBSD: more.c,v 1.13 2001/09/04 23:35:59 millert Exp $ */ /*- * Copyright (c) 1980 The Regents of the University of California. * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: more.c,v 1.14 2001/09/05 22:32:41 deraadt Exp $ */ /*- * Copyright (c) 1980 The Regents of the University of California. * All rights reserved. *************** *** 1438,1445 **** va_start(argp); execvp (cmd, argp); write (2, "exec failed\n", 12); - exit (1); va_end(argp); /* balance {}'s for some UNIX's */ } if (id > 0) { signal (SIGINT, SIG_IGN); --- 1438,1445 ---- va_start(argp); execvp (cmd, argp); write (2, "exec failed\n", 12); va_end(argp); /* balance {}'s for some UNIX's */ + exit (1); } if (id > 0) { signal (SIGINT, SIG_IGN);