fix: Change condition for OverlayFS warning (#1103)

This commit is contained in:
Kroese
2025-11-06 03:22:47 +01:00
committed by GitHub
parent a89007ee03
commit 302c991c0c
2 changed files with 2 additions and 2 deletions

View File

@@ -346,7 +346,7 @@ checkFS () {
DIR=$(dirname "$DISK_FILE")
[ ! -d "$DIR" ] && return 0
if [[ "${FS,,}" == "overlay"* && "$PODMAN" != [Yy1]* ]]; then
if [[ "${FS,,}" == "overlay"* && "${ENGINE,,}" == "docker" ]]; then
warn "the filesystem of $DIR is OverlayFS, this usually means it was binded to an invalid path!"
fi