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:
parent
1699ab8c02
commit
a8d13b84b4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user