Use bash's builtin FD allocation or iterate valid POSIX FDs.
Kairui Song (3):
kdumpctl: don't hardcode the lock FD
kdumpctl: don't hardcode the temporary stderr holder FD
kdump-logger.sh: remove hardcoded fd for syslog
kdump-logger.sh | 25 +++++++++++++++++++------
kdumpctl | 26 ++++++++++----------------
2 files changed, 29 insertions(+), 22 deletions(-)
--
2.31.1