fix serval exit with not correct ERROR_NO