Skip to content

Commit 3724c7f

Browse files
Add an error message when the distribution is not supported
Adds an error message if the distribution is not supported by this script. Previously the script would exit without a message which didn't give much hints as to the problem. Signed-off-by: Russell Cardullo <russellcardullo@gmail.com>
1 parent 68f4a40 commit 3724c7f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,12 @@ do_install() {
442442
echo_docker_as_nonroot
443443
exit 0
444444
;;
445+
*)
446+
echo
447+
echo "ERROR: Unsupported distribution '$lsb_dist'"
448+
echo
449+
exit 1
450+
;;
445451
esac
446452
exit 1
447453
}

0 commit comments

Comments
 (0)