Return scheduled services correctly.

This commit is contained in:
Roy Marples 2008-03-19 12:26:09 +00:00
parent 773d50dabb
commit cdd3881c1b

View File

@ -966,7 +966,7 @@ RC_STRINGLIST *rc_services_scheduled(const char *service)
{
char dir[PATH_MAX];
snprintf(dir, sizeof(dir), "RC_SVCDIR/scheduled/%s",
snprintf(dir, sizeof(dir), RC_SVCDIR "/scheduled/%s",
basename_c(service));
return ls_dir(dir, LS_INITD);
}