diff --git a/snap/local/adguard-home-web.sh b/snap/local/adguard-home-web.sh index 9e75aa2e..262025df 100755 --- a/snap/local/adguard-home-web.sh +++ b/snap/local/adguard-home-web.sh @@ -2,7 +2,7 @@ # Get admin tool port from configuration bind_port=$(grep bind_port $SNAP_DATA/AdGuardHome.yaml | awk -F ' ' '{print $2}') -if [ -z "$bind_port"]; then +if [ -z "$bind_port" ]; then xdg-open http://localhost:3000 else xdg-open http://localhost:$bind_port