cmd: fix ancient bug on consolefs flush

This commit is contained in:
Giacomo Tesio 2017-05-30 00:11:34 +02:00
parent a8d42cecc9
commit c45cffeaf5
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ rversion(Fcall *req, Fcall *rep)
static int
rflush(Fcall *req, Fcall *rep)
{
if(req->tag == outputread->tag){
if(outputread != nil && req->tag == outputread->tag){
free(outputread);
outputread = nil;
}else