diff --git a/src/cpp/ripple/Application.cpp b/src/cpp/ripple/Application.cpp index 16fcada6a..75f4c8c0a 100644 --- a/src/cpp/ripple/Application.cpp +++ b/src/cpp/ripple/Application.cpp @@ -83,10 +83,13 @@ void sigIntHandler(int) void Application::run() { #ifdef SIGINT - struct sigaction sa; - memset(&sa, 0, sizeof(sa)); - sa.sa_handler = sigIntHandler; - sigaction(SIGINT, &sa, NULL); + if (!config.RUN_STANDALONE) + { + struct sigaction sa; + memset(&sa, 0, sizeof(sa)); + sa.sa_handler = sigIntHandler; + sigaction(SIGINT, &sa, NULL); + } #endif assert(mTxnDB == NULL);