]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.c
tools: fix bogus unreachable return.
[ccan] / tools / tools.c
index c8697320a9fd5616c5dfa1e04af686efec0c1a87..1eddf7e934ab9f658cadb9fe4e7a2c34b8312b15 100644 (file)
@@ -92,7 +92,6 @@ char *run_with_timeout(const void *ctx, const char *cmd,
                close_noerr(p[1]);
                return talloc_asprintf(ctx, "Failed to fork: %s",
                                       strerror(errno));
-               return NULL;
        }
 
        if (pid == 0) {