Set chmod 600 on existing cookieFile (#193)

This commit is contained in:
Tiago Totti 2017-09-25 13:21:43 -03:00 committed by Tianon Gravi
parent b3f8989253
commit 513a11bccb
2 changed files with 2 additions and 2 deletions

View File

@ -171,8 +171,8 @@ if [ "${RABBITMQ_ERLANG_COOKIE:-}" ]; then
fi
else
echo "$RABBITMQ_ERLANG_COOKIE" > "$cookieFile"
chmod 600 "$cookieFile"
fi
chmod 600 "$cookieFile"
fi
# prints "$2$1$3$1...$N"

View File

@ -171,8 +171,8 @@ if [ "${RABBITMQ_ERLANG_COOKIE:-}" ]; then
fi
else
echo "$RABBITMQ_ERLANG_COOKIE" > "$cookieFile"
chmod 600 "$cookieFile"
fi
chmod 600 "$cookieFile"
fi
# prints "$2$1$3$1...$N"