summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/port/fault.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/9/port/fault.c b/sys/src/9/port/fault.c
index 123ae4e80..6565c670a 100644
--- a/sys/src/9/port/fault.c
+++ b/sys/src/9/port/fault.c
@@ -67,7 +67,8 @@ faulterror(char *s, Chan *c)
s = buf;
}
if(up->nerrlab) {
- postnote(up, 1, s, NDebug);
+ if(up->kp == 0)
+ postnote(up, 1, s, NDebug);
error(s);
}
pexit(s, 1);