diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-03-06 02:16:51 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-03-06 02:16:51 +0100 |
commit | c5a894e967f6736401fd0a932ecb2f39914899cc (patch) | |
tree | 88fe8e834fa60ee605ea771d25c64cbba5663bf7 /tools/apply-colormap | |
parent | aea8da872bbe5400f02af466aa30dd097ca5d46c (diff) |
tools/apply-colormap:serial_send(): Properly close temporary FD.
Diffstat (limited to 'tools/apply-colormap')
-rwxr-xr-x | tools/apply-colormap | 2 |
1 files changed, 1 insertions, 1 deletions
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 |