diff options
Diffstat (limited to 'src/libstddjb/fd_move2.c')
-rw-r--r-- | src/libstddjb/fd_move2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstddjb/fd_move2.c b/src/libstddjb/fd_move2.c index e28c2cc..d80ef3e 100644 --- a/src/libstddjb/fd_move2.c +++ b/src/libstddjb/fd_move2.c @@ -18,9 +18,7 @@ int fd_move2 (int to1, int from1, int to2, int from2) } if (fd_copy(to1, from1) == -1) { - int e = errno ; if (from2 != tmp) fd_close(tmp) ; - errno = e ; return -1 ; } if (fd_copy(to2, tmp) == -1) |