fix(tools): remove extra space in find tunnel parent sed

main
Tsu-ba-me 1 year ago committed by Yanhao Lei
parent 4c0f48722e
commit f45a49dc11
  1. 2
      tools/striker-manage-vnc-pipes

@ -204,7 +204,7 @@ sub find_tp_processes
$anvil->Log->variables({ source => $THIS_FILE, line => __LINE__, level => $debug, list => $parameters, prefix => "find_tp_processes" });
my $ps_call = "$pgrep -a '$ps_name' | $sed - En 's/^([[:digit:]]+).*--target[[:space:]]+([^[:space:]]+).*--ctl-path[[:space:]]+([^[:space:]]+).*--tunnel-ls-path[[:space:]]+([^[:space:]]+).*\$/\\1,\\2,\\3,\\4/p'";
my $ps_call = "$pgrep -a '$ps_name' | $sed -En 's/^([[:digit:]]+).*--target[[:space:]]+([^[:space:]]+).*--ctl-path[[:space:]]+([^[:space:]]+).*--tunnel-ls-path[[:space:]]+([^[:space:]]+).*\$/\\1,\\2,\\3,\\4/p'";
my ($rcode, $output) = call({ call => $ps_call, debug => $debug });

Loading…
Cancel
Save