summaryrefslogtreecommitdiffstats
path: root/core/modules/kiosk-common
diff options
context:
space:
mode:
authorJonathan Bauer2020-03-19 09:22:39 +0100
committerJonathan Bauer2020-03-19 09:22:39 +0100
commit66bc516d8495dc203a51aed7f66f01b69989bf65 (patch)
treeafb6683eb58620123d5d1e4a046d549089e4cd01 /core/modules/kiosk-common
parent[qemukvm] Fix cpu core assignment (diff)
downloadmltk-66bc516d8495dc203a51aed7f66f01b69989bf65.tar.gz
mltk-66bc516d8495dc203a51aed7f66f01b69989bf65.tar.xz
mltk-66bc516d8495dc203a51aed7f66f01b69989bf65.zip
[kiosk-common] fix check for bg jobs
Diffstat (limited to 'core/modules/kiosk-common')
-rwxr-xr-xcore/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch2
1 files changed, 1 insertions, 1 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 9c2cd1cf..79f08e3d 100755
--- a/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch
+++ b/core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch
@@ -28,7 +28,7 @@ kill_jobs() {
local j
for j in $(jobs -p); do
# Was already running before? Skip
- [ " $BASE_JOBS " =~ " $j " ] && continue
+ [[ " $BASE_JOBS " == *" $j "* ]] && continue
kill "$j"
done
}