diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/vac/vac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index 4848d7ce..709a60af 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -538,7 +538,7 @@ vacdata(DirSink *dsink, int fd, char *lname, VacFile *vf, Dir *dir) if(vd.mtime == dir->mtime) if(vd.size == dir->length) if(!vd.plan9 || /* vd.p9path == dir->qid.path && */ vd.p9version == dir->qid.vers) - if(dirsinkwritefile(dsink, vf)) { + if(dirsinkwritefile(dsink, vf) >= 0) { stats.sfile++; vdcleanup(&vd); return; |