diff --git a/script/scanRear.sh b/script/scanRear.sh index 85eb9bf..b4094c0 100755 --- a/script/scanRear.sh +++ b/script/scanRear.sh @@ -22,7 +22,7 @@ output_file="${filename_base}%04d.pnm" cd "/tmp/${date}" || exit -pkill -P "$(cat scan_pid)" +kill -9 "$(cat scan_pid)" rm scan_pid #sthg is wrong with device name, probably escaping, use default printer: