1
0

peek(1): close streams

This commit is contained in:
dtb 2024-04-17 14:35:59 -06:00
parent 6b90e0e1da
commit 5f721f745b

View File

@ -128,5 +128,10 @@ int main(int argc, char *argv[]){
restore_echo(0);
if(outputs[2] /* -p */ != NULL){
fclose(outputs[2]);
close(p[1]);
}
return EX_OK;
}