From c5a894e967f6736401fd0a932ecb2f39914899cc Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 6 Mar 2020 02:16:51 +0100 Subject: tools/apply-colormap:serial_send(): Properly close temporary FD. --- tools/apply-colormap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/apply-colormap') diff --git a/tools/apply-colormap b/tools/apply-colormap index 07b0470..fb497c9 100755 --- a/tools/apply-colormap +++ b/tools/apply-colormap @@ -88,7 +88,7 @@ serial_send() { printf "%s\\n" "$x" done IFS="$old_IFS" - {fd}<&- + exec {fd}<&- } serial_send palette -- cgit v1.2.3