Revision 13219
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
846 | 846 |
setup_log_fd() # view logging output at verbosity >= 5 |
847 | 847 |
{ |
848 | 848 |
log_local; log+ 4; log-- echo_func |
849 |
fd_set_default '30>&2' || true # stdlog |
|
850 | 849 |
log_fd=30 # stdlog |
850 |
fd_set_default "$log_fd>&2" || true |
|
851 | 851 |
} |
852 | 852 |
setup_log_fd |
853 | 853 |
|
Also available in: Unified diff
fix: lib/sh/util.sh: setup_log_fd(): fd_set_default(): use $log_fd instead of repeating the value of it