am b20d54b2: Merge "fix double closing file descriptors"

* commit 'b20d54b2309adee8d192942015740735ded975d3':
  fix double closing file descriptors
diff --git a/logwrapper.c b/logwrapper.c
index b7d2f68..13c076d 100644
--- a/logwrapper.c
+++ b/logwrapper.c
@@ -155,7 +155,6 @@
                 if (write(fd, text, strlen(text)) < 0) {
                     LOG(LOG_WARN, "logwrapper",
                         "Unable to background process (%s)", strerror(errno));
-                    close(fd);
                 }
                 close(fd);
             } else {