Skip to content

Commit 8477ede

Browse files
committed
Use a utility to create the directory that the mocked server state file should live in
1 parent 9ea1b09 commit 8477ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator/src/main/resources/scripts/startServer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function mockWLS() {
9090
STATEFILE_DIR=${DOMAIN_HOME}/servers/${SERVER_NAME}/data/nodemanager
9191
STATEFILE=${STATEFILE_DIR}/${SERVER_NAME}.state
9292

93-
mkdir -p $STATEFILE_DIR
93+
createFolder $STATEFILE_DIR
9494
echo "RUNNING:Y:N" > $STATEFILE
9595
}
9696

0 commit comments

Comments
 (0)