Ticket #13004: 1kill.patch

File 1kill.patch, 741 bytes (added by jpoet, 9 years ago)

Don't trap SIGINT and SIGTERM

  • mythtv/programs/mythbackend/main.cpp

    commit 17a5727e8f0b1800eb089d4498d95796e743c447
    Author: John Poet <jpoet@mythtv.org>
    Date:   Sat Sep 26 17:32:26 2015 -0600
    
        Allow the first kill, to actually kill mythbackend.
    
    diff --git a/mythtv/programs/mythbackend/main.cpp b/mythtv/programs/mythbackend/main.cpp
    index 717c2a9..7a1205a 100644
    a b int main(int argc, char **argv)  
    117117
    118118#ifndef _WIN32
    119119    QList<int> signallist;
    120     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
     120    signallist /*<< SIGINT << SIGTERM */
     121               << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    121122               << SIGILL;
    122123#if ! CONFIG_DARWIN
    123124    signallist << SIGRTMIN;