1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-07 16:17:23 +01: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

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: