This commit is contained in:
Bob Mottram 2016-01-03 12:32:12 +00:00
parent 9551d74c4f
commit b11794f943
1 changed files with 1 additions and 2 deletions

View File

@ -176,8 +176,7 @@ function show_domains {
echo -n -e "$(pad_string 'Gogs')"
GOGSDOM=$(cat ${COMPLETION_FILE} | grep 'Gogs domain' | awk -F ':' '{print $2}')
echo -n -e "$(pad_string ${GOGSDOM})"
if [ -d /var/lib/tor/hidden_service_git ]; then
/var/lib/tor/hidden_service_gogs/hostname
if [ -d /var/lib/tor/hidden_service_gogs ]; then
echo -n "$(cat /var/lib/tor/hidden_service_gogs/hostname)"
fi
echo ''