Fix warning
This commit is contained in:
parent
080ddc1c19
commit
09da627a23
@ -10877,6 +10877,7 @@ static void redirect(union node *redir, int flags)
|
||||
INTOFF;
|
||||
newfd = openredirect(n);
|
||||
if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) {
|
||||
i = fd;
|
||||
if (newfd == fd) {
|
||||
try++;
|
||||
} else if ((i = fcntl(fd, F_DUPFD, 10)) == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user