mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-13 05:23:41 +08:00
fix: Simplify conditional checks (#1014)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user