summaryrefslogtreecommitdiffstats
path: root/src/main/docker/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/scripts')
-rw-r--r--src/main/docker/scripts/start-zookeeper.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/docker/scripts/start-zookeeper.sh b/src/main/docker/scripts/start-zookeeper.sh
index d77ec03..5222c78 100644
--- a/src/main/docker/scripts/start-zookeeper.sh
+++ b/src/main/docker/scripts/start-zookeeper.sh
@@ -116,9 +116,8 @@ function create_data_dirs() {
chown -R $ZK_USER:$ZK_USER $ZK_LOG_DIR
fi
- if [ ! -f $ID_FILE ]; then
echo $MY_ID >> $ID_FILE
- fi
+ cat $ID_FILE
echo "Created ZooKeeper data directories and set permissions in $ZK_DATA_DIR"
}