runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 4aa33eae6684f8a6b4bae2c198940687db390f31
parent 65fcde803e7e1a4af10171402034d0f455909c8d
Author: Gerrit Pape <pape@smarden.org>
Date:   Tue, 22 Oct 2002 10:31:22 +0000

avoid unnecessary warning.

Diffstat:
Msrc/runsvdir.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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))