Zookeeper: bash fix