Browse Source

tools: fix bogus unreachable return.

Rusty Russell 14 years ago
parent
commit
add10b0b9d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      tools/tools.c

+ 0 - 1
tools/tools.c

@@ -92,7 +92,6 @@ char *run_with_timeout(const void *ctx, const char *cmd,
 		close_noerr(p[1]);
 		close_noerr(p[1]);
 		return talloc_asprintf(ctx, "Failed to fork: %s",
 		return talloc_asprintf(ctx, "Failed to fork: %s",
 				       strerror(errno));
 				       strerror(errno));
-		return NULL;
 	}
 	}
 
 
 	if (pid == 0) {
 	if (pid == 0) {