tools: fix bogus unreachable return.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Mar 2012 03:45:18 +0000 (14:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Mar 2012 03:45:18 +0000 (14:15 +1030)
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) {