If we could open the pipe, pclose it even if it doesn't give us any output

This commit is contained in:
david parsons
2017-03-24 18:22:12 -07:00
parent d709662d5a
commit 2a1c5b52fa
+1 -1
View File
@@ -18,7 +18,7 @@ char **argv;
strtok(line, "\n");
if ( strcmp(line, "master" ) != 0 )
printf("\"(%s)\"", line);
pclose(pipe);
}
pclose(pipe);
return 0;
}