change pipe silencer to redirect to stderr so that we can see if QEMU is at least still alive

This commit is contained in:
bbracker 2022-02-28 22:55:23 +00:00
parent 3519a20ccf
commit 8f2a533470

View File

@ -12,6 +12,8 @@ int main(void)
ssize_t lineSize = getline(&line, &len, stdin); ssize_t lineSize = getline(&line, &len, stdin);
if (silenceChar!='1') { if (silenceChar!='1') {
printf("%s",line); printf("%s",line);
} else {
fprintf(stderr,"%s",line);
} }
} }
free(line); free(line);