From 061056548bdcb95418f81e0123cc7e422c2153b7 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 22 May 2018 19:10:06 +0200 Subject: [PATCH] re-added notice to stderr if received signal --- CMakeLists.txt | 2 +- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63de245..753db34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.6.1 + VERSION 0.6.2 LANGUAGES CXX ) diff --git a/src/main.cpp b/src/main.cpp index e55915e..5a8fa1f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,6 +41,7 @@ void signal_handler(int signum) } running = false; syslog(LOG_NOTICE, "Received signal %d, closing...", signum); + std::cerr << "Received signal " << signum << ", closing...\n"; break; default: break;