From 24a0ced4560971fd220cbc202df212120dc9f91c Mon Sep 17 00:00:00 2001 From: Gurkirat Singh Date: Sat, 11 Feb 2023 02:48:59 +0530 Subject: [PATCH] fix (lint): remove exit from install.sh as it is already implemented in the calling function --- install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/install.sh b/install.sh index 67b8c754..521db6a8 100755 --- a/install.sh +++ b/install.sh @@ -158,8 +158,6 @@ while getopts "hsinaf" opt; do case "$opt" in "h") _bash-it_show_usage - # shellcheck disable=SC2317 - exit 0 ;; "s") silent=true ;; "i") interactive=true ;; @@ -168,8 +166,6 @@ while getopts "hsinaf" opt; do "f") overwrite_backup=true ;; "?") _bash-it_show_usage >&2 - # shellcheck disable=SC2317 - exit 1 ;; esac done