From 86e944b3a4e304d7a28cf63a37003bbd0c7f7878 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 26 Jun 2020 14:11:50 -0400 Subject: [PATCH] Correct typo in function call --- confluent_server/bin/osdeploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/bin/osdeploy b/confluent_server/bin/osdeploy index a84a848f..efd60eef 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -107,10 +107,10 @@ def initialize(cmdset): didsomething = True certutil.create_certificate() if os.path.exists('/usr/lib/systemd/system/httpd.service'): - subprocess.cheeck_call(['systemctl', 'try-restart', 'httpd']) + subprocess.check_call(['systemctl', 'try-restart', 'httpd']) print('HTTP server has been restarted if it was running') elif os.path.exists('/usr/lib/systemd/system/apache2.service'): - subprocess.cheeck_call(['systemctl', 'try-restart', 'apache2']) + subprocess.check_call(['systemctl', 'try-restart', 'apache2']) print('HTTP server has been restarted if it was running') else: emprint('New HTTPS certificates generated, restart the web server manually')