replaced: "exit status not 0" with errstr() snarfed from wait().