update: fixed heredoc finaly :D

This commit is contained in:
maix0 2024-09-18 14:46:19 +02:00
parent da223422b0
commit cc1e2b7fdc
7 changed files with 77 additions and 13 deletions

6
close.sh Normal file
View file

@ -0,0 +1,6 @@
for fd in $(/usr/bin/env ls /proc/$$/fd); do
if [ "$fd" -gt 10 ]; then
#echo "$fd"
exec {fd}>&-
fi;
done