Update mond.c

move exitStatus to mond.c