mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-29 04:17:07 +00:00
fix ssh name check
This commit is contained in:
parent
f46eb195d3
commit
1d9541fb2c
@ -107,7 +107,7 @@ def check_service(i, service, env):
|
|||||||
running = True
|
running = True
|
||||||
|
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
if service['name'] == 'ssh':
|
if service['name'] == 'SSH Login (ssh)':
|
||||||
output.print_error("%s is not running (%s). (Should be running on port %s)" % (service['name'], str(e), str(get_ssh_port())))
|
output.print_error("%s is not running (%s). (Should be running on port %s)" % (service['name'], str(e), str(get_ssh_port())))
|
||||||
else:
|
else:
|
||||||
output.print_error("%s is not running (%s)." % (service['name'], str(e)))
|
output.print_error("%s is not running (%s)." % (service['name'], str(e)))
|
||||||
|
Loading…
Reference in New Issue
Block a user