ext/common/agents/HelperAgent/Main.cpp in passenger-4.0.10 vs ext/common/agents/HelperAgent/Main.cpp in passenger-4.0.13
- old
+ new
@@ -585,9 +585,14 @@
*/
int
main(int argc, char *argv[]) {
TRACE_POINT();
AgentOptions options(initializeAgent(argc, argv, "PassengerHelperAgent"));
+ if (options.testBinary) {
+ printf("PASS\n");
+ exit(0);
+ }
+
P_DEBUG("Starting PassengerHelperAgent...");
MultiLibeio::init();
try {
UPDATE_TRACE_POINT();