mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
fix warnings
This commit is contained in:
@@ -385,24 +385,24 @@ if [ "$1" = "status" ]; then
|
|||||||
# STORAGE
|
# STORAGE
|
||||||
if [ ${#storageDevice} -gt 0 ]; then
|
if [ ${#storageDevice} -gt 0 ]; then
|
||||||
if [ ${storageSizeGB} -lt $((storageFullMinGB - 1)) ]; then
|
if [ ${storageSizeGB} -lt $((storageFullMinGB - 1)) ]; then
|
||||||
echo "storageWarning='only-pruned'"
|
storageWarning='only-pruned'
|
||||||
fi
|
fi
|
||||||
if [ ${storageSizeGB} -lt $((storagePrunedMinGB - 1)) ]; then
|
if [ ${storageSizeGB} -lt $((storagePrunedMinGB - 1)) ]; then
|
||||||
echo "storageWarning='too-small'"
|
storageWarning='too-small'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# SYSTEM
|
# SYSTEM
|
||||||
if [ ${#systemDevice} -gt 0 ]; then
|
if [ ${#systemDevice} -gt 0 ]; then
|
||||||
if [ ${systemSizeGB} -lt $((systemMinGB - 1)) ]; then
|
if [ ${systemSizeGB} -lt $((systemMinGB - 1)) ]; then
|
||||||
echo "systemWarning='too-small'"
|
systemWarning='too-small'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# DATA
|
# DATA
|
||||||
if [ ${#dataDevice} -gt 0 ]; then
|
if [ ${#dataDevice} -gt 0 ]; then
|
||||||
if [ ${dataSizeGB} -lt $((dataMinGB - 1)) ]; then
|
if [ ${dataSizeGB} -lt $((dataMinGB - 1)) ]; then
|
||||||
echo "dataWarning='too-small'"
|
dataWarning='too-small'
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user