fix: Simplify conditional checks (#1014)

This commit is contained in:
Kroese
2025-09-20 23:47:00 +02:00
committed by GitHub
parent 1ee49332f3
commit f841eb1ef1
5 changed files with 18 additions and 18 deletions

View File

@@ -76,7 +76,7 @@ fi
# Check filesystem
FS=$(stat -f -c %T "$STORAGE")
if [[ "${FS,,}" == "ecryptfs" ]] || [[ "${FS,,}" == "tmpfs" ]]; then
if [[ "${FS,,}" == "ecryptfs" || "${FS,,}" == "tmpfs" ]]; then
DISK_IO="threads"
DISK_CACHE="writeback"
fi