re-added notice to stderr if received signal

This commit is contained in:
tastytea 2018-05-22 19:10:06 +02:00
parent 824fe6bba6
commit 061056548b
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon
VERSION 0.6.1
VERSION 0.6.2
LANGUAGES CXX
)

View File

@ -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;