summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2014-10-19 13:10:23 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2014-10-19 13:10:23 -0700
commit0fd562bebc64e7685be926486497a0aa91c09382 (patch)
tree46671b80ac8f7e98e3a9adc736ee1ad0e289c091 /main.cpp
parent8730d30575b88e2a49459235727a586fadef33bb (diff)
downloadinfinitytier-0fd562bebc64e7685be926486497a0aa91c09382.tar.gz
infinitytier-0fd562bebc64e7685be926486497a0aa91c09382.zip
One more Windows build fix.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 3444f4d8..069c82cf 100644
--- a/main.cpp
+++ b/main.cpp
@@ -828,7 +828,7 @@ int main(int argc,char **argv)
switch(node->run()) {
#ifdef __WINDOWS__
case Node::NODE_RESTART_FOR_UPGRADE: {
- const char *upgPath = node->reasonForTermination();
+ const char *upgPath = node->terminationMessage();
if (upgPath) {
if (!ZeroTierOneService::doStartUpgrade(std::string(upgPath))) {
exitCode = 3;