Bob Mottram 7 年前
父节点
当前提交
ddfd249c82
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-controlpanel

+ 1
- 1
src/freedombone-controlpanel 查看文件

@@ -359,7 +359,7 @@ function show_domains {
359 359
     fi
360 360
     # There are two forms of addresses: "x / y.onion" and "x.onion"
361 361
     if [[ "$selected_addresses" == *'/'* ]]; then
362
-        onion_addr=$(echo "$selected_addresses" | awk -F '/' '{print $2}' | awk -F ' ' '{print $2}').onion
362
+        onion_addr=$(echo "$selected_addresses" | awk -F '/' '{print $2}' | awk -F ' ' '{print $1}').onion
363 363
     else
364 364
         onion_addr="$selected_addresses".onion
365 365
     fi