update csh exit code