From 6c0209f6f0eb41151397e4784730d2b6bca8d7ea Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 11 Feb 2005 20:32:41 +0000 Subject: build changes --- src/cmd/vac/vac.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmd/vac') diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index f2595fff..93add14d 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -400,6 +400,8 @@ vacfile(DirSink *dsink, char *lname, char *sname, VacFile *vf) if((dir = dirstat(sname)) == nil){ warn("could not stat file %s: %r", lname); + return; + } if(dir->mode&(DMSYMLINK|DMDEVICE|DMNAMEDPIPE|DMSOCKET)){ free(dir); return; -- cgit v1.2.3