1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Output exit status description of child in background mode.

This commit is contained in:
Brian Somers 1997-05-19 03:02:36 +00:00
parent 6efd9292f6
commit 80e37c722b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25910

View File

@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* *
* $Id: main.c,v 1.51 1997/05/17 16:08:46 brian Exp $ * $Id: main.c,v 1.52 1997/05/19 02:00:06 brian Exp $
* *
* TODO: * TODO:
* o Add commands for traffic summary, version display, etc. * o Add commands for traffic summary, version display, etc.
@ -462,8 +462,9 @@ char **argv;
printf("PPP enabled.\n"); printf("PPP enabled.\n");
LogPrintf (LOG_PHASE_BIT, "Parent: PPP enabled.\n"); LogPrintf (LOG_PHASE_BIT, "Parent: PPP enabled.\n");
} else { } else {
printf("Child failed %d.\n",(int)c); printf("Child failed (%s).\n",ex_desc((int)c));
LogPrintf (LOG_PHASE_BIT, "Parent: Child failed %d.\n",(int)c); LogPrintf(LOG_PHASE_BIT, "Parent: Child failed (%s).\n",
ex_desc((int)c));
} }
close (BGFiledes[0]); close (BGFiledes[0]);
} }