no serial port should be an error on all platforms

Also, when exit is selected, give a different exit code, so we can
use it in a loop.