Skip to content
Snippets Groups Projects
Commit 1758e8b1 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed uninitialized unique_pointer.

parent 196fac27
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ void cta::tape::daemon::TapeDaemon::mainEventLoop() {
log::LogContext lc(m_log);
// Create the process manager and signal handler
ProcessManager pm(lc);
std::unique_ptr<SignalHandler> sh;
std::unique_ptr<SignalHandler> sh(new SignalHandler(pm));
pm.addHandler(std::move(sh));
// Create the drive handlers
for (auto & d: m_globalConfiguration.driveConfigs) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment