Remove useless check.
authorWilliam Douglas <william.douglas@intel.com>
Thu, 24 May 2012 21:50:23 +0000 (14:50 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Thu, 24 May 2012 21:50:23 +0000 (14:50 -0700)
Since the crash submission/opt in was removed this check was changed
to only testmode, making test mode useless. Since we always send we
need to modify what testmode does now.

Signed-off-by: William Douglas <william.douglas@intel.com>
src/corewatcher.c

index af4d920..d055358 100644 (file)
@@ -131,11 +131,6 @@ int main(int argc, char**argv)
                }
        }
 
-       if (!testmode) {
-               fprintf(stderr, "+ Inactive by user preference\n");
-               return EXIT_SUCCESS;
-       }
-
        /*
         * the curl docs say that we "should" call curl_global_init early,
         * even though it'll be called later on via curl_easy_init().