diff options
Diffstat (limited to 'debian/openssh-server.apport')
-rw-r--r-- | debian/openssh-server.apport | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/openssh-server.apport b/debian/openssh-server.apport index 58631be2d..aa853b51c 100644 --- a/debian/openssh-server.apport +++ b/debian/openssh-server.apport | |||
@@ -12,6 +12,7 @@ the full text of the license. | |||
12 | 12 | ||
13 | from apport.hookutils import root_command_output | 13 | from apport.hookutils import root_command_output |
14 | 14 | ||
15 | |||
15 | def add_info(report, ui): | 16 | def add_info(report, ui): |
16 | response = ui.yesno("The contents of your /etc/ssh/sshd_config file " | 17 | response = ui.yesno("The contents of your /etc/ssh/sshd_config file " |
17 | "may help developers diagnose your bug more " | 18 | "may help developers diagnose your bug more " |
@@ -19,8 +20,8 @@ def add_info(report, ui): | |||
19 | "information. Do you want to include it in your " | 20 | "information. Do you want to include it in your " |
20 | "bug report?") | 21 | "bug report?") |
21 | 22 | ||
22 | if response == None: # user cancelled | 23 | if response == None: # user cancelled |
23 | raise StopIteration | 24 | raise StopIteration |
24 | 25 | ||
25 | elif response == True: | 26 | elif response: |
26 | report['SSHDConfig'] = root_command_output(['/usr/sbin/sshd', '-T']) | 27 | report['SSHDConfig'] = root_command_output(['/usr/sbin/sshd', '-T']) |