From eaf378f269ea55f4c6dc03bbeca1894a195b4e7f Mon Sep 17 00:00:00 2001 From: kulikov-a <36099472+kulikov-a@users.noreply.github.com> Date: Wed, 22 Sep 2021 17:47:52 +0300 Subject: [PATCH] diag_testport.php: set verbose (#5231) --- src/www/diag_testport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/diag_testport.php b/src/www/diag_testport.php index 5ae3e4377..a2aeb4885 100644 --- a/src/www/diag_testport.php +++ b/src/www/diag_testport.php @@ -91,7 +91,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $nc_args .= exec_safe(' -s %s ', $ifaddr); } - $cmd_action = "/usr/bin/nc {$nc_args} " . exec_safe('%s %s', [$pconfig['host'], $pconfig['port']]); + $cmd_action = "/usr/bin/nc -v {$nc_args} " . exec_safe('%s %s', [$pconfig['host'], $pconfig['port']]); $process = proc_open($cmd_action, array(array("pipe", "r"), array("pipe", "w"), array("pipe", "w")), $pipes); if (is_resource($process)) { $cmd_output = "# $cmd_action\n";