From d018cc3ce22bb6bb80d8be01fad11d0034e9bb45 Mon Sep 17 00:00:00 2001 From: fudanyi Date: Fri, 24 Oct 2014 09:16:00 +0800 Subject: [PATCH] make endless --- LinuxNodeMgr/LinuxNodeMgr/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LinuxNodeMgr/LinuxNodeMgr/main.cpp b/LinuxNodeMgr/LinuxNodeMgr/main.cpp index d25da89..cc28835 100644 --- a/LinuxNodeMgr/LinuxNodeMgr/main.cpp +++ b/LinuxNodeMgr/LinuxNodeMgr/main.cpp @@ -142,9 +142,9 @@ int main() // syslog(LOG_INFO, "Started"); std::cout << "Start" << std::endl; - int a; - std::cin >> a; - sleep(10); + while (true){ + sleep(100); + } rc.CloseListener();