fix: randomizer

This commit is contained in:
Peter Njeim 2022-08-29 20:42:11 -03:00
parent 975bf6b768
commit 04600a0561

View File

@ -81,7 +81,7 @@ abort() {
trap abort INT TERM
function Gen_Rand_Str {
tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w "$1" | head -n 1
head /dev/urandom | tr -dc A-Za-z0-9 | head -c"$1"
}
usage(){