summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-01-29 00:44:15 +0000
committerbrian <brian@FreeBSD.org>1998-01-29 00:44:15 +0000
commit342874fb3a430098462eda4d3bcddbd0c7e8c6a1 (patch)
tree726d84834f4d440b6eac3d1bfab80e09848fc40b /usr.sbin/ppp/main.c
parent77370f92cc7ada30ca8ae112692bf65148836220 (diff)
downloadFreeBSD-src-342874fb3a430098462eda4d3bcddbd0c7e8c6a1.zip
FreeBSD-src-342874fb3a430098462eda4d3bcddbd0c7e8c6a1.tar.gz
Don't moan about not creating tunX.pid and ttyX.if if RELEASE_CRUNCH
is defined.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index f2fba1c..6418aca 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.119 1998/01/21 02:15:20 brian Exp $
+ * $Id: main.c,v 1.120 1998/01/27 23:14:51 brian Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -540,9 +540,12 @@ main(int argc, char **argv)
if (lockfile != NULL) {
fprintf(lockfile, "%d\n", (int) getpid());
fclose(lockfile);
- } else
+ }
+#ifndef RELEASE_CRUNCH
+ else
LogPrintf(LogALERT, "Warning: Can't create %s: %s\n",
pid_filename, strerror(errno));
+#endif
LogPrintf(LogPHASE, "PPP Started.\n");
OpenPOWER on IntegriCloud