rc: add err != nil check for early exit
This commit is contained in:
parent
44a5f4d2ef
commit
9773f55318
1 changed files with 2 additions and 1 deletions
|
@ -249,7 +249,8 @@ Updenv(void)
|
||||||
addenv(v);
|
addenv(v);
|
||||||
if(runq)
|
if(runq)
|
||||||
updenvlocal(runq->local);
|
updenvlocal(runq->local);
|
||||||
flushio(err);
|
if(err)
|
||||||
|
flushio(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue