mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
One more Windows build fix.
This commit is contained in:
parent
8730d30575
commit
0fd562bebc
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -828,7 +828,7 @@ int main(int argc,char **argv)
|
||||||
switch(node->run()) {
|
switch(node->run()) {
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
case Node::NODE_RESTART_FOR_UPGRADE: {
|
case Node::NODE_RESTART_FOR_UPGRADE: {
|
||||||
const char *upgPath = node->reasonForTermination();
|
const char *upgPath = node->terminationMessage();
|
||||||
if (upgPath) {
|
if (upgPath) {
|
||||||
if (!ZeroTierOneService::doStartUpgrade(std::string(upgPath))) {
|
if (!ZeroTierOneService::doStartUpgrade(std::string(upgPath))) {
|
||||||
exitCode = 3;
|
exitCode = 3;
|
||||||
|
|
Loading…
Add table
Reference in a new issue