Fixed --output=/dev/null on Linux

Closes #252