From ab916a81a83295e7a30fa1a8575f50897ceb56cf Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Fri, 28 Jan 2022 19:38:12 +0100 Subject: [PATCH] Gracefully kill process to allow TTY reset --- regenerate-screenshots.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regenerate-screenshots.sh b/regenerate-screenshots.sh index 8041212..a2e5a31 100755 --- a/regenerate-screenshots.sh +++ b/regenerate-screenshots.sh @@ -85,7 +85,7 @@ for theme in ${themes[@]}; do cat /dev/fb0 > "$outdir/$res" convert -size $fb_res -depth $fb_depth $fb_format:"$outdir/$res" -crop $res+0+0 "$outdir/$theme-$res.png" rm "$outdir/$res" - kill -9 $pid + kill -15 $pid readme="$readme\"$res\""$'\n' done