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,6 +249,7 @@ Updenv(void)
|
|||
addenv(v);
|
||||
if(runq)
|
||||
updenvlocal(runq->local);
|
||||
if(err)
|
||||
flushio(err);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue