Skip to content

Commit

Permalink
fix SC2086
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan <[email protected]>
  • Loading branch information
Ivan committed Sep 19, 2024
1 parent 259f79b commit 2f28295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint-sentinel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sentinel_mode_setup(){
echo "sentinel auth-pass ${MASTER_GROUP_NAME} ${MASTER_PASSWORD}"
fi
if [[ -n "${SENTINEL_ID}" ]];then
(echo -n "sentinel myid "; echo ${SENTINEL_ID} | sha1sum | awk "{ print \$1 }")
(echo -n "sentinel myid "; echo "${SENTINEL_ID}" | sha1sum | awk '{ print $1 }')
fi
}>> /etc/redis/sentinel.conf

Expand Down

0 comments on commit 2f28295

Please sign in to comment.