def sighup_handler(self, signum, frame):
        if self._ignore_sighup:
            log.warn("Program %s received signal %s ignoring" % (self.name, signum))
        else:
            log.error("Program %s received signal %s exiting" % (self.name, signum))
            sys.exit(-1)
dataset/ETHPy150Open Anaconda-Platform/chalmers/chalmers/program/posix.py/PosixProgram.sighup_handler/original