Sfoglia il codice sorgente

Typo in comment.

tags/1.1.10
Dan 2 anni fa
parent
commit
63c7241aec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      borgmatic/signals.py

+ 1
- 1
borgmatic/signals.py Vedi File

@@ -12,7 +12,7 @@ def _handle_signal(signal_number, frame): # pragma: no cover
def configure_signals(): # pragma: no cover
'''
Configure borgmatic's signal handlers to pass relevant signals through to any child processes
like Borg. No that SIGINT gets passed through already even without these changes.
like Borg. Note that SIGINT gets passed through even without these changes.
'''
for signal_number in (signal.SIGHUP, signal.SIGTERM, signal.SIGUSR1, signal.SIGUSR2):
signal.signal(signal_number, _handle_signal)

Loading…
Annulla
Salva