Update disk-passthrough.sh

This commit is contained in:
MacRimi 2025-04-08 09:46:50 +02:00 committed by GitHub
parent 8842efc19b
commit e56775573a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,7 +179,7 @@ while read -r DISK; do
for SYMLINK in /dev/disk/by-id/*; do
if [[ "$(readlink -f "$SYMLINK")" == "$REAL_PATH" ]]; then
if grep -Fq "$SYMLINK" <<< "$CONFIG_DATA"; then
USED_BY="[in use ct or vm]"
USED_BY="$(translate "in use ct or vm")"
break
fi
fi