From 66bc516d8495dc203a51aed7f66f01b69989bf65 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 19 Mar 2020 09:22:39 +0100 Subject: [kiosk-common] fix check for bg jobs --- core/modules/kiosk-common/data/opt/openslx/scripts/kiosk-launch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 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 } -- cgit v1.2.3-55-g7522