fix(quickget): make open_homepage() shellcheck compliant (SC2034)

https://www.shellcheck.net/wiki/SC2034
This commit is contained in:
Martin Wimpress 2024-05-07 10:56:13 +01:00 committed by Martin Wimpress
parent 1e05e7a3b2
commit 805eae9bd5
1 changed files with 1 additions and 1 deletions

View File

@ -3349,8 +3349,8 @@ function open_homepage() {
error_specify_os
else
URL="$(os_info "${1}" | cut -d'|' -f 4)"
# shellcheck disable=SC2034
XDG_OPEN=$(xdg-open "${URL}" || sensible-browser "${URL}" || x-www-browser "${URL}" || gnome-open "${URL}")
unset XDG_OPEN
exit 0
fi
}