furl format

This commit is contained in:
Bob Mottram 2017-03-08 18:45:40 +00:00
parent b9f259e4f4
commit e49837b24b
1 changed files with 2 additions and 2 deletions

View File

@ -492,8 +492,8 @@ function create_tahoelafs_client {
function get_tahoelafs_furl {
furl=$(cat /home/tahoelafs/storage/private/storage.furl)
furl_1=$(echo \"${furl}\" | awk -F ' ' '{print $1}')
furl_2=$(echo \"${furl}\" | awk -F ':' '{print $5}')
furl_1=$(echo "${furl}" | awk -F ' ' '{print $1}')
furl_2=$(echo "${furl}" | awk -F ':' '{print $5}')
echo "${furl_1}:${furl_2}"
}