Skip to content

Commit caa4c16

Browse files
committed
Merge branch '2.1.x'
Closes gh-18084
2 parents 6017f2f + 7150f12 commit caa4c16

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-cli/src/main/executablecontent/bin

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-cli/src/main/executablecontent/bin/spring

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ if [ -z "${SPRING_HOME}" ]; then
8787
fi
8888
done
8989
SAVED="$(pwd)"
90-
cd "$(dirname "${PRG}")/../" >&- || exit 1
90+
cd "$(dirname "${PRG}")/../" > /dev/null || exit 1
9191
SPRING_HOME="$(pwd -P)"
9292
export SPRING_HOME
93-
cd "$SAVED" >&- || exit 1
93+
cd "$SAVED" > /dev/null || exit 1
9494
fi
9595

9696
if [ ! -d "${SPRING_HOME}" ]; then

0 commit comments

Comments
 (0)