mirror of
https://github.com/Orc/discount.git
synced 2026-09-25 04:10:00 +03:00
If we could open the pipe, pclose it even if it doesn't give us any output
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ char **argv;
|
||||
strtok(line, "\n");
|
||||
if ( strcmp(line, "master" ) != 0 )
|
||||
printf("\"(%s)\"", line);
|
||||
pclose(pipe);
|
||||
}
|
||||
pclose(pipe);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user