fix empty file don't exit after display
Merge pull request #80 from mapeiqi88/master

fix empty file don't exit after display