diff --git a/usr/libexec/helper-scripts/get_os.sh b/usr/libexec/helper-scripts/get_os.sh index b9753a96..e4f5b84a 100755 --- a/usr/libexec/helper-scripts/get_os.sh +++ b/usr/libexec/helper-scripts/get_os.sh @@ -172,7 +172,7 @@ get_distro() { ;; esac - if test "${oracle_repo:-}" = "1" && test "${kali_derivative_detected:-}"; then + if test "${oracle_repo:-}" = "1" && test "${kali_derivative_detected:-}" = "1"; then die 1 "Distribution Extended Check: Oracle repository does not work with Kali." fi diff --git a/usr/libexec/helper-scripts/ip_syntax.sh b/usr/libexec/helper-scripts/ip_syntax.sh index b37fb55e..4c87dc09 100755 --- a/usr/libexec/helper-scripts/ip_syntax.sh +++ b/usr/libexec/helper-scripts/ip_syntax.sh @@ -35,7 +35,7 @@ is_addr_port(){ if [ "${port}" -gt 0 ] && [ "${port}" -le 65535 ]; then true "is_addr_port test: Valid port: '${port}'" else - die 2 "${underline}is_addr_port test:${nounderline} Invalid port '${port}', not within range: 0-65535." + die 2 "${underline}is_addr_port test:${nounderline} Invalid port '${port}', not within range: 1-65535." fi for quad in $(printf '%s\n' "${addr}" | tr "." " "); do