redirect only once

This commit is contained in:
rsc 2005-07-25 16:55:38 +00:00
parent 23fb2edb22
commit caf12d8c5b

View file

@ -157,6 +157,7 @@ Top:
*/
rerrstr(err, sizeof err);
if(!redirected && strstr(err, "not active")){
redirected = 1;
vtfileunlock(r);
r = r0;
goto Top;