From 3f641a93d06dff124159cadcd4c42bbcc91a63af Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 31 Jan 2023 15:25:21 +0100 Subject: [kiosk-common] Fix job killing logic --- core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/modules/kiosk-common') diff --git a/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch b/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch index 263ff855..d98bc981 100755 --- a/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch +++ b/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch @@ -31,8 +31,8 @@ fi # any mess left around by failed attempts below # #### Don't fork anything into background after this point -# -declare -rg BASE_JOBS="$(jobs -p)" +# Convert \n to spaces using echo +declare -rg BASE_JOBS="$( echo $(jobs -p) )" kill_jobs() { local j -- cgit v1.2.3-55-g7522