summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-common
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-31 15:25:21 +0100
committerSimon Rettberg2023-01-31 15:25:21 +0100
commit3f641a93d06dff124159cadcd4c42bbcc91a63af (patch)
tree6fd7c16f23a17a109e9553a51b025b9ffed26b6a /core/modules/kiosk-common
parent[kiosk-chromium] Fix launching on debian (diff)
downloadmltk-3f641a93d06dff124159cadcd4c42bbcc91a63af.tar.gz
mltk-3f641a93d06dff124159cadcd4c42bbcc91a63af.tar.xz
mltk-3f641a93d06dff124159cadcd4c42bbcc91a63af.zip
[kiosk-common] Fix job killing logic
Diffstat (limited to 'core/modules/kiosk-common')
-rwxr-xr-xcore/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch4
1 files changed, 2 insertions, 2 deletions
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