mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Added --install flag.
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
#include "Daemon.h"
|
||||
#include "Reseed.h"
|
||||
|
||||
int main( int argc, char* argv[] )
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
Daemon.init(argc, argv);
|
||||
if (Daemon.start())
|
||||
{
|
||||
while (Daemon.running)
|
||||
{
|
||||
if(!Daemon.init(argc, argv))
|
||||
return EXIT_FAILURE;
|
||||
|
||||
if(Daemon.start()) {
|
||||
while (Daemon.running) {
|
||||
//TODO Meeh: Find something better to do here.
|
||||
std::this_thread::sleep_for (std::chrono::seconds(1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user