mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
diag_testport.php: set verbose (#5231)
This commit is contained in:
parent
500c82f181
commit
eaf378f269
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user