Skip to content

Commit a5c9c20

Browse files
committed
use only lowercase
1 parent 43c7058 commit a5c9c20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

common/common-generate-random-number.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ common_generate_random_string()
3636

3737
[[ "$DEBUG" == true ]] && echo "Generating a random string with "$LOCAL_SIZE" characher(s)"
3838

39-
# bash generate random string alphanumeric string (upper and lowercase) and
40-
RANDOM_STRING=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $LOCAL_SIZE | head -n 1)
39+
# bash generate random alphanumeric string (lowercase only)
40+
RANDOM_STRING=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w $LOCAL_SIZE | head -n 1)
4141

4242
if [[ "$RANDOM_STRING" == "" ]]; then
4343
echoerror "Error generating a random string. Please check the function 'common_generate_random_string'."

0 commit comments

Comments
 (0)