netdata
netdata copied to clipboard
Fix existing install detection for FreeBSD and macOS.
Summary
Due to issues relating to https://github.com/netdata/netdata/issues/13242, install type detection for existing installs is broken on some systems. This fixes things so that the detection works correctly on such systems without needing to fix the root cause.
Test Plan
This can be tested by running the kickstart.sh script on a FreeBSD or macOS system that has an existing install of the agent created by running the kickstart script.
Using the kickstart script in the master branch, this will throw an error due to not being able to identify the install type.
Using the kickstart script from this PR, it will correctly detect the install type and proceed normally.
Additional Information
Relevant to (but does not completely fix): https://github.com/netdata/netdata/issues/13230