mirror of
https://github.com/sheumann/hush.git
synced 2025-02-23 02:29:20 +00:00
hush: trivial fix in debug code
This commit is contained in:
parent
2f5d0cd511
commit
211b59be43
@ -2249,7 +2249,7 @@ static int free_pipe(struct pipe *pi, int indent)
|
|||||||
debug_printf_clean("%s (nil)\n", indenter(indent));
|
debug_printf_clean("%s (nil)\n", indenter(indent));
|
||||||
}
|
}
|
||||||
for (r = child->redirects; r; r = rnext) {
|
for (r = child->redirects; r; r = rnext) {
|
||||||
debug_printf_clean("%s redirect %d%s", indenter(indent), r->fd, redir_table[r->type].descrip);
|
debug_printf_clean("%s redirect %d%s", indenter(indent), r->fd, redir_table[r->rd_type].descrip);
|
||||||
if (r->dup == -1) {
|
if (r->dup == -1) {
|
||||||
/* guard against the case >$FOO, where foo is unset or blank */
|
/* guard against the case >$FOO, where foo is unset or blank */
|
||||||
if (r->rd_filename) {
|
if (r->rd_filename) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user