linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / um / drivers / net_user.c
index 0a7786e..0e2f061 100644 (file)
@@ -182,9 +182,7 @@ static int change_tramp(char **argv, char *output, int output_len)
        pe_data.stdout = fds[1];
        pid = run_helper(change_pre_exec, &pe_data, argv, NULL);
 
-       if (pid > 0)    /* Avoid hang as we won't get data in failure case. */
-               read_output(fds[0], output, output_len);
-
+       read_output(fds[0], output, output_len);
        os_close_file(fds[0]);
        os_close_file(fds[1]);