fix (lint): remove exit from install.sh as it is already implemented in the calling function
parent
c5747327f2
commit
24a0ced456
|
|
@ -158,8 +158,6 @@ while getopts "hsinaf" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
"h")
|
"h")
|
||||||
_bash-it_show_usage
|
_bash-it_show_usage
|
||||||
# shellcheck disable=SC2317
|
|
||||||
exit 0
|
|
||||||
;;
|
;;
|
||||||
"s") silent=true ;;
|
"s") silent=true ;;
|
||||||
"i") interactive=true ;;
|
"i") interactive=true ;;
|
||||||
|
|
@ -168,8 +166,6 @@ while getopts "hsinaf" opt; do
|
||||||
"f") overwrite_backup=true ;;
|
"f") overwrite_backup=true ;;
|
||||||
"?")
|
"?")
|
||||||
_bash-it_show_usage >&2
|
_bash-it_show_usage >&2
|
||||||
# shellcheck disable=SC2317
|
|
||||||
exit 1
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue