aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/vac/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/vac/file.c b/src/cmd/vac/file.c
index 10c632c9..e5629aed 100644
--- a/src/cmd/vac/file.c
+++ b/src/cmd/vac/file.c
@@ -157,6 +157,7 @@ Top:
*/
rerrstr(err, sizeof err);
if(!redirected && strstr(err, "not active")){
+ redirected = 1;
vtfileunlock(r);
r = r0;
goto Top;