@cryptotaxi247 / netdata-1 / commits / d832bda6e

chore: remove unused variable in the system-info script (#12297)

Ilya Mashchenko committed Mar 2, 2022 at 20:08 UTC d832bda6e07bae22ca24033342f0663e6dcb5c7d
1 file changed -1
daemon/system-info.sh
-1
@@ -153,7 +153,6 @@ if [ "${CONTAINER}" = "unknown" ] || [ "${CONTAINER}" = "none" ]; then
153 else
154 # Otherwise try and use a user-supplied bind-mount into the container to resolve the host details
155 if [ -e "/host/etc/os-release" ]; then
156 - OS_DETECTION="/etc/os-release"
156 eval "$(grep -E "^(NAME|ID|ID_LIKE|VERSION|VERSION_ID)=" < /host/etc/os-release | sed 's/^/HOST_/')"
157 HOST_OS_DETECTION="/host/etc/os-release"
158 fi