mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
fix ramiening devices
This commit is contained in:
@@ -279,8 +279,10 @@ if [ "$1" = "layout" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# count remaining devices
|
# count remaining devices
|
||||||
remainingDevices=$(echo "${listOfDevices}" | wc -l)
|
remainingDevices=0
|
||||||
echo "# ${listOfDevices}"
|
if [ ${#listOfDevices} -gt 0 ]; then
|
||||||
|
remainingDevices=$(echo "${listOfDevices}" | wc -l)
|
||||||
|
fi
|
||||||
|
|
||||||
# output the result
|
# output the result
|
||||||
echo "storageDevice='${storageDevice}'"
|
echo "storageDevice='${storageDevice}'"
|
||||||
|
Reference in New Issue
Block a user