mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
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