diff options
author | Jonathan Bauer | 2020-03-19 09:22:39 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-03-19 09:22:39 +0100 |
commit | 66bc516d8495dc203a51aed7f66f01b69989bf65 (patch) | |
tree | afb6683eb58620123d5d1e4a046d549089e4cd01 /core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch | |
parent | [qemukvm] Fix cpu core assignment (diff) | |
download | mltk-66bc516d8495dc203a51aed7f66f01b69989bf65.tar.gz mltk-66bc516d8495dc203a51aed7f66f01b69989bf65.tar.xz mltk-66bc516d8495dc203a51aed7f66f01b69989bf65.zip |
[kiosk-common] fix check for bg jobs
Diffstat (limited to 'core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch')
-rwxr-xr-x | core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch | 2 |
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 } |