grep does not like empty input and will give 1 as the exit code :(