fix file deletion

This commit is contained in:
André Bauer 2017-12-24 14:59:45 +01:00
parent 2fc5b8fe8b
commit db984758d4

View File

@ -21,7 +21,7 @@ function check_zammad_ready {
# zammad init
if [ "$1" = 'zammad-init' ]; then
test -f ${ZAMMAD_READY_FILE} && rm ${ZAMMAD_READY_FILE}
rm ${ZAMMAD_READY_FILE}
until (echo > /dev/tcp/${POSTGRESQL_HOST}/5432) &> /dev/null; do
echo "zammad railsserver waiting for postgresql server to be ready..."