return values set according to unix standard (0 => ok, >0 => error)
Merge branch 'return_values'