Task #61357 - added.err
back to task #61357download
Error: SHELLCHECK_WARNING (CWE-398):
/usr/libexec/anaconda/webui-desktop:41:9: warning[SC2214]: This case is not specified by getopts.
# 39| t)THEME_ID=${OPTARG};;
# 40| r)WEBUI_REMOTE=${OPTARG};;
# 41|-> b)DEFAULT_BROWSER_CMD=${OPTARG};;
# 42| *) echo "Usage: $0 [-t THEME_ID] [-r WEBUI_REMOTE] [-b DEFAULT_BROWSER_CMD]" >&2
# 43| exit 1 ;;
Error: SHELLCHECK_WARNING (CWE-670):
/usr/libexec/anaconda/webui-desktop:121:10: warning[SC2128]: Expanding an array without an index only gives the first element.
# 119| BROWSER=(/usr/bin/firefox --new-instance --window-size "1024,768" --profile "${FIREFOX_PROFILE_PATH}")
# 120|
# 121|-> echo $BROWSER
# 122| }
# 123|
Error: SHELLCHECK_WARNING (CWE-140):
/usr/libexec/anaconda/webui-desktop:151:18: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
# 149| # If default browser command is not set, or set to firefox then prepare the firefox command
# 150| if [[ -z "${DEFAULT_BROWSER_CMD:-}" || "${DEFAULT_BROWSER_CMD}" == "firefox" ]]; then
# 151|-> BROWSER=($(prepare_firefox_cmd "$INSTALLER_USER"))
# 152| else
# 153| # Otherwise, use the default browser command
Error: SHELLCHECK_WARNING (CWE-140):
/usr/libexec/anaconda/webui-desktop:154:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
# 152| else
# 153| # Otherwise, use the default browser command
# 154|-> BROWSER=(${DEFAULT_BROWSER_CMD})
# 155| fi
# 156|