From 6a8300202a133f8e466984b3375c34342430bff5 Mon Sep 17 00:00:00 2001 From: Graham Dumpleton Date: Fri, 28 Jul 2023 09:12:51 +1000 Subject: [PATCH] Ensure workshop renderer is not running except when need classic format. --- .../base-environment/opt/eduk8s/sbin/start-container | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workshop-images/base-environment/opt/eduk8s/sbin/start-container b/workshop-images/base-environment/opt/eduk8s/sbin/start-container index f7a7d35f..48acb921 100755 --- a/workshop-images/base-environment/opt/eduk8s/sbin/start-container +++ b/workshop-images/base-environment/opt/eduk8s/sbin/start-container @@ -288,10 +288,12 @@ ENABLE_CONSOLE_OCTANT_PROCESS=$ENABLE_CONSOLE_OCTANT ENABLE_WORKSHOP_PROCESS=$ENABLE_WORKSHOP if [ x"$ENABLE_WORKSHOP" == x"true" ]; then - if [ x"$WORKSHOP_RENDERER" != x"local" ]; then + if [ x"$WORKSHOP_RENDERER" == x"local" ]; then if [ x"$LOCAL_RENDERER_TYPE" != x"classic" ]; then ENABLE_WORKSHOP_PROCESS=false fi + else + ENABLE_WORKSHOP_PROCESS=false fi fi