Fix exit number bug, and the test message incorrect.

Well, small change, prev_gid should map to new_gid not new_uid.
Merge branch 'master' of https://github.com/zhaorui/FIXHOME