From 9ce3086bf5658caf4f1d97ed489e2f96ff7b6282 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 28 Jan 2008 13:16:33 +0000 Subject: Fix service_started_daemon, bug #11 --- src/librc/librc-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librc/librc-daemon.c') diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c index a972bd7a..d697a681 100644 --- a/src/librc/librc-daemon.c +++ b/src/librc/librc-daemon.c @@ -431,7 +431,7 @@ bool rc_service_started_daemon (const char *service, const char *exec, } else { if ((dp = opendir (dirpath))) { while ((d = readdir (dp))) { - if (d->d_name[0] == ',') + if (d->d_name[0] == '.') continue; retval = _match_daemon (dirpath, d->d_name, mexec, NULL, NULL); if (retval) -- cgit v1.2.3