mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
fdca524cdd
commit
aa2d5d1edd
@ -17,8 +17,11 @@
|
||||
|
||||
from icinga2.utils.debug import ObjectsFile
|
||||
from icinga2.config import LocalStateDir
|
||||
from signal import signal, SIGPIPE, SIG_DFL
|
||||
|
||||
def main():
|
||||
signal(SIGPIPE, SIG_DFL)
|
||||
|
||||
fp = open(LocalStateDir + "/cache/icinga2/icinga2.debug")
|
||||
of = ObjectsFile(fp)
|
||||
for obj in of:
|
||||
|
Loading…
x
Reference in New Issue
Block a user