mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-09-29 21:37:10 -05:00
Somehow generate_hex was broken this entire time and I didn't notice
This commit is contained in:
@@ -9,7 +9,7 @@ generate_password() {
|
||||
|
||||
generate_hex() {
|
||||
length=$1
|
||||
head /dev/urandom | tr -dc "a-zA-Z0-9" | head -c "$length"
|
||||
head /dev/urandom | tr -dc "A-F0-9" | head -c "$length"
|
||||
}
|
||||
|
||||
# Validate arguments
|
||||
|
||||
Reference in New Issue
Block a user