re-added notice to stderr if received signal
This commit is contained in:
parent
824fe6bba6
commit
061056548b
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (expandurl-mastodon
|
project (expandurl-mastodon
|
||||||
VERSION 0.6.1
|
VERSION 0.6.2
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ void signal_handler(int signum)
|
||||||
}
|
}
|
||||||
running = false;
|
running = false;
|
||||||
syslog(LOG_NOTICE, "Received signal %d, closing...", signum);
|
syslog(LOG_NOTICE, "Received signal %d, closing...", signum);
|
||||||
|
std::cerr << "Received signal " << signum << ", closing...\n";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user