a non `0` return code of a linux binary means an error state. i just counted up the return statements so a calling programm could distinguish the states if it cares.