Style cleanup.
[awesomized/libmemcached] / libtest / cmdline.cc
index df0221586fcad72feddfc3bc11d14b688800ab42..43e5ef2d14bc46be2e380f7b8eaf6e3f94f697ef 100644 (file)
@@ -439,9 +439,14 @@ Application::error_t Application::join()
       }
 
       // If we terminted it on purpose then it counts as a success.
-      Out << "waitpid() application terminated at request"
-        << " pid:" << _pid 
-        << " name:" << built_argv[0];
+#if defined(DEBUG)
+      if (DEBUG)
+      {
+        Out << "waitpid() application terminated at request"
+          << " pid:" << _pid 
+          << " name:" << built_argv[0];
+      }
+#endif
     }
     else
     {