--- rebase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebase.c b/rebase.c index ca3c59d..56537d6 100644 --- a/rebase.c +++ b/rebase.c @@ -1441,7 +1441,7 @@ is_rebaseable (const char *pathname) fd = open (pathname, O_RDONLY); if (fd == -1) - goto done; + return status; offset = lseek (fd, pe_signature_offset_offset, SEEK_SET); if (offset == -1) -- 2.19.2
- [rebase PATCH] On error, avoid a close on the -1 fil... Michael Haubenwallner
- Re: [rebase PATCH] On error, avoid a close on t... Corinna Vinschen