chore: resolve shell warnings

This commit is contained in:
Kyle Robbertze 2021-11-08 10:22:07 +02:00 committed by Jonas L
parent 83e904d06d
commit 022b1a2881
4 changed files with 8 additions and 6 deletions

View file

@ -14,7 +14,8 @@ command -v openssl > /dev/null || error "openssl command not found!"
command -v rabbitmqctl > /dev/null || error "rabbitmqctl command not found!"
typeset -r RMQ_USER="airtime"
typeset -r RMQ_PASSWORD=$(openssl rand -hex 16)
RMQ_PASSWORD=$(openssl rand -hex 16)
typeset -r RMQ_PASSWORD
# RabbitMQ
echo "Changing password for rabbitmq user '$RMQ_USER' to '$RMQ_PASSWORD'"