fix: Do not display OverlayFS message for Podman (#944)

This commit is contained in:
Kroese
2025-10-20 14:51:19 +02:00
committed by GitHub
parent 9d8301ff28
commit 3f27382dc2
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -90,7 +90,7 @@ fi
if [ ! -w "$STORAGE" ]; then
msg="Storage folder ($STORAGE) is not writeable!"
msg+="If SELinux is active, you need to add the \":Z\" flag to the bind mount."
msg+=" If SELinux is active, you need to add the \":Z\" flag to the bind mount."
error "$msg" && exit 13
fi