diff --git a/src/rec/subRecord.c b/src/rec/subRecord.c index e41cc0919..5a304cd71 100644 --- a/src/rec/subRecord.c +++ b/src/rec/subRecord.c @@ -168,8 +168,9 @@ static long special(DBADDR *paddr, int after) subRecord *prec = (subRecord *)paddr->precord; if (!after) { - if (prec->snam[0] == 0) + if (prec->snam[0] == 0 && prec->pact) prec->pact = FALSE; + prec->rpro = FALSE; return 0; }