kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
503 stars 98 forks source link

Ensure root directory checkup's file count is correct when directory has trailing slash #1560

Closed RebeccaMahany closed 7 months ago

RebeccaMahany commented 7 months ago

When the root directory is its default value, which has a trailing slash at the end, launcher doctor incorrectly reports that there are no files in the root directory. This PR fixes that issue.