summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/sam/xec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/sam/xec.c b/sys/src/cmd/sam/xec.c
index 1fa6a7fce..9493d54fc 100644
--- a/sys/src/cmd/sam/xec.c
+++ b/sys/src/cmd/sam/xec.c
@@ -277,6 +277,7 @@ u_cmd(File *f, Cmd *cp)
else
while(n++ && undo(FALSE))
;
+ moveto(f, f->dot.r);
return TRUE;
}