diff --git a/src/TDB2.cpp b/src/TDB2.cpp index 9ef96c5fe..4e6d1c705 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -636,7 +636,6 @@ void TDB2::commit () // Ignore harmful signals. signal (SIGHUP, SIG_IGN); signal (SIGINT, SIG_IGN); - signal (SIGKILL, SIG_IGN); signal (SIGPIPE, SIG_IGN); signal (SIGTERM, SIG_IGN); signal (SIGUSR1, SIG_IGN); @@ -655,7 +654,6 @@ void TDB2::commit () // Restore signal handling. signal (SIGHUP, SIG_DFL); signal (SIGINT, SIG_DFL); - signal (SIGKILL, SIG_DFL); signal (SIGPIPE, SIG_DFL); signal (SIGTERM, SIG_DFL); signal (SIGUSR1, SIG_DFL); diff --git a/src/commands/CmdSync.cpp b/src/commands/CmdSync.cpp index 78d6f0e86..4f52d9e01 100644 --- a/src/commands/CmdSync.cpp +++ b/src/commands/CmdSync.cpp @@ -171,7 +171,6 @@ int CmdSync::execute (std::string& output) // Ignore harmful signals. signal (SIGHUP, SIG_IGN); signal (SIGINT, SIG_IGN); - signal (SIGKILL, SIG_IGN); signal (SIGPIPE, SIG_IGN); signal (SIGTERM, SIG_IGN); signal (SIGUSR1, SIG_IGN); @@ -322,7 +321,6 @@ int CmdSync::execute (std::string& output) // Restore signal handling. signal (SIGHUP, SIG_DFL); signal (SIGINT, SIG_DFL); - signal (SIGKILL, SIG_DFL); signal (SIGPIPE, SIG_DFL); signal (SIGTERM, SIG_DFL); signal (SIGUSR1, SIG_DFL);