mirror of https://github.com/0intro/wmii
do not write to stdin, but to stdout, wmiir
This commit is contained in:
parent
9d34f12320
commit
874b2a730c
|
@ -226,7 +226,7 @@ xread(char *file)
|
|||
}
|
||||
|
||||
while((count = ixp_client_read(&c, fid, offset, result, IXP_MAX_MSG)) > 0) {
|
||||
write(0, result, count);
|
||||
write(1, result, count);
|
||||
offset += count;
|
||||
}
|
||||
if(count == -1) {
|
||||
|
|
Loading…
Reference in New Issue