diff --git a/server/plugins-available/nginx_plugin.inc.php b/server/plugins-available/nginx_plugin.inc.php
index 5439efeb2f4185c9d034ab1cace4b0703f9c7b6c..d76ef1849a5e9dd822c4ad2a168020d6ddc0f8d0 100644
--- a/server/plugins-available/nginx_plugin.inc.php
+++ b/server/plugins-available/nginx_plugin.inc.php
@@ -1622,15 +1622,14 @@ class nginx_plugin {
 		$vhost_data['logging'] = $web_config['logging'];
 
                 // check if OpenSSL and Nginx supports TLS 1.3
-		//$app->log("Found OpenSSL version: " . $app->system->getopensslversion($get_minor = true), LOGLEVEL_DEBUG);
 		$nginx_version = $app->system->getnginxversion(true);
 		$openssl_version = $app->system->getopensslversion(true);
 
-		$app->system->exec_safe('nginx -V 2>&1', $output, $return_var);
+		$output = $app->system->exec_safe('nginx -V 2>&1');
 
 		if(preg_match('/built with OpenSSL\s*(\d+)(\.(\d+)(\.(\d+))*)?(\D|$)/i', $output[0], $matches)) {
                         $nginx_openssl_ver = $matches[1] . (isset($matches[3]) ? '.' . $matches[3] : '') . (isset($matches[5]) ? '.' . $matches[5] : '');
-                } 
+		}
 
 		if(version_compare($app->system->getopensslversion(true), $nginx_openssl_ver, '>=')) {
 			if((version_compare($app->system->getnginxversion(true), '1.13.0', '>=') && version_compare($app->system->getopensslversion(true), '1.1.1', '>='))) {
@@ -1638,6 +1637,7 @@ class nginx_plugin {
 				$vhost_data['tls13_available'] = $app->system->getopensslversion(true);
 			}
 		}
+
 		$tpl->setVar($vhost_data);
 
 		$server_alias = array();