Skip to content

Commit 57d78aa

Browse files
committed
ignore _install_completion_script errors
1 parent 7bb2add commit 57d78aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ _install_completion_script() {
219219
esac
220220
}
221221

222-
_install_completion_script $SHELL
223-
[[ $0 != $SHELL ]] && _install_completion_script $0
222+
_install_completion_script $SHELL || true
223+
[[ $0 != $SHELL ]] && _install_completion_script $0 || true
224224

225225
# Cleanup: Remove the temporary directory
226226
echo "Cleaning up..."

0 commit comments

Comments
 (0)