Don't delete spawn reply because it can cause segfault in strncmp Check the flag instead FS-8147 --resolve