Use historically correct error message in some cases, optionally.

This commit is contained in:
Warner Losh 1998-04-28 05:08:10 +00:00
parent dadb9fb334
commit 3a42f937f1
1 changed files with 11 additions and 2 deletions

View File

@ -35,13 +35,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: job.c,v 1.7 1997/02/22 19:27:11 peter Exp $
*/
#ifndef lint
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
#endif /* not lint */
#ifndef OLD_JOKE
#define OLD_JOKE 0
#endif /* OLD_JOKE */
/*-
* job.c --
* handle the creation etc. of our child processes.
@ -1125,7 +1129,12 @@ Job_CheckCommands(gn, abortProc)
(void) fflush(stdout);
return FALSE;
} else {
(*abortProc)("%s %s. Stop", msg, gn->name);
#if OLD_JOKE
if (strcmp(gn->name,"love") == 0)
(*abortProc)("Not war.");
else
#endif
(*abortProc)("%s %s. Stop", msg, gn->name);
return FALSE;
}
}