diff options
author | Gerrit Pape <pape@smarden.org> | 2002-10-21 14:32:06 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2002-10-21 14:32:06 +0000 |
commit | ec617d629af18dd5fa1a5fed1d5349f59d74b744 (patch) | |
tree | 62e78c5179539970547e4b24e51aa6233b4c6023 /src/runsvdir.c | |
parent | 54175f00b4357afa8e7a82a0e8b7631d53c7da8f (diff) | |
download | runit-ec617d629af18dd5fa1a5fed1d5349f59d74b744.tar.gz runit-ec617d629af18dd5fa1a5fed1d5349f59d74b744.tar.xz runit-ec617d629af18dd5fa1a5fed1d5349f59d74b744.zip |
* runsvdir.c: continue reading directory when stat() on entry fails.
Diffstat (limited to 'src/runsvdir.c')
-rw-r--r-- | src/runsvdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |