From 5a2d51c0603c43f4a589f30ff873f5133658c237 Mon Sep 17 00:00:00 2001 From: Zack Date: Fri, 9 Oct 2020 07:16:17 -0700 Subject: [PATCH] bash continues if autocompletion fails to install Fixes #286 --- src/install/default.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/install/default.txt b/src/install/default.txt index dde9794..cf41bbc 100644 --- a/src/install/default.txt +++ b/src/install/default.txt @@ -725,16 +725,12 @@ main() { print_message "== Installed autocompletions for $(basename "${SHELL}")" "ok" elif [[ "${autocomplete_install_rcode}" == "1" ]]; then print_message "== Failed to install ${bash_autocomplete_file}" "error" - exit 1 elif [[ "${autocomplete_install_rcode}" == "20" ]]; then print_message "== Failed to locate 'install' command" "error" - exit 1 elif [[ "${autocomplete_install_rcode}" == "21" ]]; then print_message "== Failed to locate 'sudo' command" "error" - exit 1 else print_message "== Install attempt returned an unexpected value of ${autocomplete_install_rcode}" "error" - exit 1 fi print_message "== Installation complete" "ok"