]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.c
ccanlint: typo fix and fix errant description parsing.
[ccan] / tools / tools.c
index b93448278648034f8835668db5476cc6abe038c5..20fcc9bb5bfba7fd142e5735e3a8841c9c3e50b2 100644 (file)
@@ -131,7 +131,7 @@ char *run_with_timeout(const void *ctx, const char *cmd,
                *timeout_ms = 0;
        else
                *timeout_ms -= ms;
-
+       close(p[0]);
        if (tools_verbose) {
                printf("%s", ret);
                printf("Finished: %u ms, %s %u\n", ms,