Revision 10772
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
617 | 617 |
{ ! fd_exists "$1" || type=info die "fd $1 already exists, skipping"; } |
618 | 618 |
|
619 | 619 |
set_fds() # usage: set_fds redirect... |
620 |
# WARNING: does not currently support redirecting an fd to itself (due to bash |
|
621 |
# bug that requires the dest fd to be closed before it can be reopened) |
|
620 | 622 |
{ |
621 | 623 |
echo_func |
622 | 624 |
|
Also available in: Unified diff
fix: lib/sh/util.sh: set_fds(): documented that it does not currently support redirecting an fd to itself (due to bash bugs that require the dest fd to be closed before it can be reopened)