Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion usr/libexec/helper-scripts/get_os.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion usr/libexec/helper-scripts/ip_syntax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down