1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-01-07 09:57:06 +00:00

fix: NameError: name 'subprocess' is not defined (#2425)

This commit is contained in:
Downtown Allday 2024-11-27 08:22:45 -05:00 committed by GitHub
parent 1699ab8c02
commit a8d13b84b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,6 +189,7 @@ def get_ssh_port():
def get_ssh_config_value(parameter_name):
# Returns ssh configuration value for the provided parameter
import subprocess
try:
output = shell('check_output', ['sshd', '-T'])
except FileNotFoundError: