From fdd3929e6520ce4c75bd95801d8187ebe045a19b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 16 Dec 2009 19:31:20 +0000 Subject: QPID-2282: test_watchdog failing due to incorrect use of env. vars git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891395 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/WatchDogPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/WatchDogPlugin.cpp') diff --git a/cpp/src/qpid/cluster/WatchDogPlugin.cpp b/cpp/src/qpid/cluster/WatchDogPlugin.cpp index 43dba5e09b..fc2b830dac 100644 --- a/cpp/src/qpid/cluster/WatchDogPlugin.cpp +++ b/cpp/src/qpid/cluster/WatchDogPlugin.cpp @@ -113,7 +113,7 @@ struct WatchDogPlugin : public qpid::Plugin, public qpid::sys::Fork { protected: void child() { // Child of fork - const char* watchdog = ::getenv("QPID_WATCHDOG_EXE"); // For use in tests + const char* watchdog = ::getenv("QPID_WATCHDOG_EXEC"); // For use in tests if (!watchdog) watchdog=QPID_EXEC_DIR "/qpidd_watchdog"; std::string interval = boost::lexical_cast(settings.interval); ::execl(watchdog, watchdog, interval.c_str(), NULL); -- cgit v1.2.1