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