Skip to content

Commit

Permalink
correct tui syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Aug 23, 2022
1 parent c6cfbc1 commit fb8da85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/bin/onionjuggler-tui
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ PURGE: Service will be permanently disabled, all the directory data, including h
## only include services that have at least one client
if ! is_dir_empty "${tor_data_dir_services}/${service}/authorized_clients/"; then
i=$((i+1))
onion_hostname="$(grep ".onion" "${tor_data_dir_services}/${service}"/hostname" 2>/dev/null)"
onion_hostname="$(grep ".onion" "${tor_data_dir_services}/${service}/hostname" 2>/dev/null)"
service_list_menu="$(printf "%s\n%s\n%s\n" "${service_list}" "${service}" "${onion_hostname%.onion}")"
service_list_checklist="$(printf "%s\n%s\n%s\n%s\n" "${service_list}" "${service}" "${onion_hostname%.onion}" 0)"
fi
Expand Down

0 comments on commit fb8da85

Please sign in to comment.