Browse Source

Close window when opening browser

Bob Mottram 8 years ago
parent
commit
c01e0e8bc3
No account linked to committer's email
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/freedombone-mesh-visit-site

+ 3
- 1
src/freedombone-mesh-visit-site View File

69
                     exit 3
69
                     exit 3
70
                 fi
70
                 fi
71
                 IPFS_FULL_URL=${IPFS_URL}/$(cat "$IPFS_USERS_FILE" | grep $TOX_ID | head -n 1 | awk -F ':' '{print $2}')
71
                 IPFS_FULL_URL=${IPFS_URL}/$(cat "$IPFS_USERS_FILE" | grep $TOX_ID | head -n 1 | awk -F ':' '{print $2}')
72
-                $BROWSER $IPFS_FULL_URL
72
+                clear
73
+                echo $'Opening browser. Please wait...'
74
+                $BROWSER $IPFS_FULL_URL &
73
             fi
75
             fi
74
         else
76
         else
75
             exit 1
77
             exit 1