Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix double closing file descriptors

Change-Id: I243628b77a0b7b138785167ccb5520e1a9374a78
  • Loading branch information...
commit 06aaa410962ec14cddcc8a6efed203a48cbd3653 1 parent 9cb6e50
Robert CH Chou authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  logwrapper.c
View
1  logwrapper.c
@@ -155,7 +155,6 @@ int logwrap(int argc, const char* argv[], int background)
if (write(fd, text, strlen(text)) < 0) {
LOG(LOG_WARN, "logwrapper",
"Unable to background process (%s)", strerror(errno));
- close(fd);
}
close(fd);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.