summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vpath.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vpath.c b/vpath.c
index 34e43fc..230bb6a 100644
--- a/vpath.c
+++ b/vpath.c
@@ -158,8 +158,9 @@ construct_vpath_list (pattern, dirpath)
free ((char *) path->searchpath);
free ((char *) path);
}
+ else
+ lastpath = path;
- lastpath = path;
path = next;
}