stylishui entrypoint fix (#7766)
Fix for this entrypoint error: Reached StylishUI install trigger, installing... /opt/meshcentral/entrypoint.sh: line 18: 0: command not found Testing compatibility schema URL...is NOT ok. Compat URL failed. Something fatal happened in the StylishUI install. Skipping...
Melo at Github committed
Apr 23, 2026 at 06:39 UTC
75c1562cf3f7091afb04c8764a9f99a208b2d9bf
1 file changed
+1
-2
docker/entrypoint.sh
+1
-2
@@ -14,8 +14,7 @@ function graceful_shutdown() {
14
trap graceful_shutdown SIGTERM
15
16
function test_url() {
17
- wget --spider "$1" &> /dev/null
18
- if "$?"; then
17
+ if wget --spider "$1" &> /dev/null; then
18
echo "is ok."
19
return 0
20
else