From: Ted Lemon Date: Tue, 24 Apr 2001 00:51:31 +0000 (+0000) Subject: Don't continue to try to trace if we can't open the tracefile. X-Git-Tag: V3-RC2-PATCH-1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a4f23b5c44a8eaf5e2df62514dfdb8603b1f610;p=thirdparty%2Fdhcp.git Don't continue to try to trace if we can't open the tracefile. --- diff --git a/omapip/trace.c b/omapip/trace.c index e9c621a63..197ab17aa 100644 --- a/omapip/trace.c +++ b/omapip/trace.c @@ -67,7 +67,7 @@ int trace_playback () int trace_record () { - if (traceoutfile) + if (traceoutfile && !tracing_stopped) return 1; return 0; }