better reporting of child exit status
streq incorrectly implemented recursively
remove incorrect exit call
it's -m, not -memory