GetGlobalMountedFSList returns a static list, which is initially
length zero; LoadMountInfo fills that list in with the output of the mount
command. But the sense of the first check is backwards. We should fill in the
list if it is empty, not if it is non-empty.
Details
Details
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Yeah, I plan on doing this but we don't run cfe 3.6 or 3.7 anymore so I need to build a test environment to make sure it still does what I expect it to do. We also opened a pull request upstream to get this patch merged back into cfengine/core