1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-23 02:27:05 +00:00

fix: NameError: name 'subprocess' is not defined

This commit is contained in:
Downtown Allday 2024-08-09 12:53:33 -04:00
parent 162e509b8b
commit a952738054

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: