diff --git a/lib/helpers.bash b/lib/helpers.bash index 34149040..31e3fec8 100755 --- a/lib/helpers.bash +++ b/lib/helpers.bash @@ -243,6 +243,7 @@ _bash-it-update-() { if [[ -z "$TARGET" ]]; then echo "Can not find tags, so can not update to latest stable version..." + cd "${old_pwd}" &> /dev/null return fi else