Don't create a core if the client explicitly told it not to
authorTrond Norbye <trond.norbye@sun.com>
Sat, 5 Dec 2009 12:53:58 +0000 (13:53 +0100)
committerTrond Norbye <trond.norbye@sun.com>
Sat, 5 Dec 2009 12:53:58 +0000 (13:53 +0100)
tests/test.c

index aa8501160af45afa232d89472f83f78895d1c080..7480d29d5798068b0c8a511361bed0b840010d62 100644 (file)
@@ -48,8 +48,6 @@ void create_core(void)
 {
    if (getenv("LIBMEMCACHED_NO_COREDUMP") == NULL && fork() == 0)
      abort();
-
-   abort();
 }
 
 int main(int argc, char *argv[])