Windows build fixes, app about text revisions.
This commit is contained in:
parent
ec8e1178e5
commit
78ef2c5f16
5 changed files with 33 additions and 98 deletions
3
one.cpp
3
one.cpp
|
@ -1479,7 +1479,6 @@ int main(int argc,char **argv)
|
|||
#endif // __WINDOWS__
|
||||
|
||||
#ifdef __UNIX_LIKE__
|
||||
|
||||
#ifdef ZT_HAVE_DROP_PRIVILEGES
|
||||
dropPrivileges(argv[0],homeDir);
|
||||
#endif
|
||||
|
@ -1499,7 +1498,9 @@ int main(int argc,char **argv)
|
|||
thr.threadMain();
|
||||
//Thread::join(Thread::start(&thr));
|
||||
|
||||
#ifdef __UNIX_LIKE__
|
||||
OSUtils::rm(pidPath.c_str());
|
||||
#endif
|
||||
|
||||
return thr.returnValue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue