Fix adding class

This commit is contained in:
rockstable 2022-12-11 01:59:33 +01:00
parent 0b6bd9864b
commit a6b717f56c
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@
diskcount="$(wc -w <<< "$disklist")"
if ifclass HW4F_DESKTOP \
if ifclass HW4F_DESKTOP \
&& [ $diskcount > 1 ]; then
echo "HW4F_DESKTOP_DISK2"
echo "Second disk found."
newclasses="HW4F_DESKTOP_DISK2"
fi