check exit code from osc commit