skip FIFO mode check if stdin doesn't exist

The creating pipe can make pipe no stdin, so I support no stdin.
fix condition
Merge pull request #351 from byplayer/support_no_stdin

skip FIFO mode check if stdin doesn't exist