[PATCH] doCoreDump: fix return value not expect as result