summaryrefslogtreecommitdiff
path: root/omapip/trace.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-04-24 00:51:31 +0000
committerTed Lemon <source@isc.org>2001-04-24 00:51:31 +0000
commit3a4f23b5c44a8eaf5e2df62514dfdb8603b1f610 (patch)
tree22c62397c993b383713e27509a5d312736cf6c3d /omapip/trace.c
parent33c281465a9411f42b76a4f884afcae4b7d89545 (diff)
downloadisc-dhcp-3a4f23b5c44a8eaf5e2df62514dfdb8603b1f610.tar.gz
Don't continue to try to trace if we can't open the tracefile.
Diffstat (limited to 'omapip/trace.c')
-rw-r--r--omapip/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omapip/trace.c b/omapip/trace.c
index e9c621a6..197ab17a 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;
}