From 92b9b260c0221c773b6d947043bef97b050cd3ff Mon Sep 17 00:00:00 2001 From: Philipp Mundhenk Date: Mon, 16 Sep 2024 19:59:47 +0200 Subject: [PATCH] Update scanRear.sh changed process killing to also kill subprocesses of waiting OCR trigger --- script/scanRear.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/scanRear.sh b/script/scanRear.sh index 90b74e8..539df82 100755 --- a/script/scanRear.sh +++ b/script/scanRear.sh @@ -22,7 +22,7 @@ output_file="${filename_base}%04d.pnm" cd "/tmp/${date}" || exit -kill -9 "$(cat scan_pid)" +pkill -P "$(cat scan_pid)" rm scan_pid #sthg is wrong with device name, probably escaping, use default printer: