diff options
author | Gerrit Pape <pape@smarden.org> | 2002-10-22 10:31:22 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2002-10-22 10:31:22 +0000 |
commit | 024efa31c275d0d843c3fc7b75307a3af3c14d56 (patch) | |
tree | 9f9a2dfad9d3419fb5bcd16989a93d097a19fef3 /src | |
parent | 79e1d19c143c9a5a415915a972d69a059e46eb1a (diff) | |
download | runit-024efa31c275d0d843c3fc7b75307a3af3c14d56.tar.gz runit-024efa31c275d0d843c3fc7b75307a3af3c14d56.tar.xz runit-024efa31c275d0d843c3fc7b75307a3af3c14d56.zip |
avoid unnecessary warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/runsvdir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runsvdir.c b/src/runsvdir.c index 7355689..188a030 100644 --- a/src/runsvdir.c +++ b/src/runsvdir.c @@ -95,6 +95,7 @@ void runsvdir() { if (d->d_name[0] == '.') continue; if (stat(d->d_name, &s) == -1) { warn("unable to stat ", d->d_name); + errno =0; continue; } if (! S_ISDIR(s.st_mode)) |