summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/WatchDogPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/WatchDogPlugin.cpp')
-rw-r--r--cpp/src/qpid/cluster/WatchDogPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string>(settings.interval);
::execl(watchdog, watchdog, interval.c_str(), NULL);