diff --git a/scripts/dotdrop-version-manager.sh b/scripts/dotdrop-version-manager.sh index 574c0f0..edfaaf9 100755 --- a/scripts/dotdrop-version-manager.sh +++ b/scripts/dotdrop-version-manager.sh @@ -92,7 +92,7 @@ move_to_base() if [ "$?" ]; then # dotdrop is a submodule echo "dotdrop used as a submodule" - cd dotdrop || echo "cannot change directory to dotdrop" && exit 1 + cd dotdrop || (echo "cannot change directory to dotdrop" && exit 1) return fi