diff options
-rw-r--r-- | package/CHANGES | 2 | ||||
-rw-r--r-- | src/runsvdir.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/package/CHANGES b/package/CHANGES index 960a464..8eb5abb 100644 --- a/package/CHANGES +++ b/package/CHANGES @@ -1,3 +1,5 @@ + * runsvdir.c: continue reading directory when stat() on entry fails. + runit 0.7.0 Mon, 07 Oct 2002 11:26:27 +0200 * runsvdir.c: check service directory's inode and device in addition diff --git a/src/runsvdir.c b/src/runsvdir.c index dfc4c69..7355689 100644 --- a/src/runsvdir.c +++ b/src/runsvdir.c @@ -95,7 +95,7 @@ void runsvdir() { if (d->d_name[0] == '.') continue; if (stat(d->d_name, &s) == -1) { warn("unable to stat ", d->d_name); - return; + continue; } if (! S_ISDIR(s.st_mode)) continue; |