@ -31,8 +31,7 @@ main()
for surf_xid in $(xidof surf)
do
test=$(get_surf_url "$surf_xid")
echo $test
if [[ "$test" =~ ^http(s)?://$url(/)?$ ]]
if [[ "$test" =~ ^http(s)?://$url(/.*)?$ ]]
then
echo "A session is already open"
return 1