fix(system-info): change id_like and name mac -> macOS (#19128)
Ilya Mashchenko committed
Dec 5, 2024 at 14:18 UTC
b418321102894e1bc8ba2c1494a621a1903ec8a3
1 file changed
+2
-2
src/daemon/system-info.sh
+2
-2
@@ -121,8 +121,8 @@ CONTAINER_ID_LIKE="unknown"
121
122
if [ "${KERNEL_NAME}" = "Darwin" ]; then
123
CONTAINER_ID=$(sw_vers -productName)
124
- CONTAINER_ID_LIKE="mac"
125
- CONTAINER_NAME="mac"
124
+ CONTAINER_ID_LIKE="macOS"
125
+ CONTAINER_NAME="macOS"
126
CONTAINER_VERSION=$(sw_vers -productVersion)
127
CONTAINER_OS_DETECTION="sw_vers"
128
elif [ "${KERNEL_NAME}" = "FreeBSD" ]; then