mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Fix ordering
This commit is contained in:
+8
-8
@@ -480,6 +480,14 @@ if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
|||||||
curl_check
|
curl_check
|
||||||
run_mods
|
run_mods
|
||||||
fi
|
fi
|
||||||
|
elif [[ -n ${LSIO_READ_ONLY_FS} ]] && [[ -n ${LSIO_NON_ROOT_USER} ]]; then
|
||||||
|
echo "╔═════════════════════════════════════════════════════════════════════════╗
|
||||||
|
║ ║
|
||||||
|
║ You are running this container read-only and as a non-root user: ║
|
||||||
|
║ This combination of settings is not supported ║
|
||||||
|
║ and may result in unwanted behaviour. ║
|
||||||
|
║ ║
|
||||||
|
╚═════════════════════════════════════════════════════════════════════════╝"
|
||||||
elif [[ -n ${LSIO_READ_ONLY_FS} ]]; then
|
elif [[ -n ${LSIO_READ_ONLY_FS} ]]; then
|
||||||
echo "╔═════════════════════════════════════════════════════════════════════════╗
|
echo "╔═════════════════════════════════════════════════════════════════════════╗
|
||||||
║ ║
|
║ ║
|
||||||
@@ -495,12 +503,4 @@ echo "╔═══════════════════════
|
|||||||
║ and the PUID/PGID environment variables will have no effect. ║
|
║ and the PUID/PGID environment variables will have no effect. ║
|
||||||
║ ║
|
║ ║
|
||||||
╚═════════════════════════════════════════════════════════════════════════╝"
|
╚═════════════════════════════════════════════════════════════════════════╝"
|
||||||
else
|
|
||||||
echo "╔═════════════════════════════════════════════════════════════════════════╗
|
|
||||||
║ ║
|
|
||||||
║ You are running this container read-only and as a non-root user: ║
|
|
||||||
║ This combination of settings is not supported ║
|
|
||||||
║ and may result in unwanted behaviour. ║
|
|
||||||
║ ║
|
|
||||||
╚═════════════════════════════════════════════════════════════════════════╝"
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user