avoid termination message when term is internal

This commit is contained in:
Brian Coca 2016-02-09 18:10:36 -05:00
commit 1b8dec9c88
2 changed files with 4 additions and 3 deletions

View file

@ -91,7 +91,8 @@ class AdHocCLI(CLI):
def _terminate(self, signum=None, framenum=None):
if signum is not None:
raise SystemExit("Interrupt detected, shutting down gracefully")
display.debug("Termination signal detected, shutting down gracefully")
raise SystemExit
def run(self):
''' use Runner lib to do SSH things '''