mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-25 17:59:35 +00:00
Rewrite random character generator (#329)
Co-authored-by: Howard20181 <40033067+Howard20181@users.noreply.github.com>
This commit is contained in:
parent
30816216a0
commit
8cc5f9c1ab
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ abort() {
|
|||
trap abort INT TERM
|
||||
|
||||
Gen_Rand_Str() {
|
||||
tr -dc '[:lower:]' </dev/urandom | fold -w "$1" | head -n 1
|
||||
head /dev/urandom | tr -dc '[:lower:]' | head -c"$1"
|
||||
}
|
||||
|
||||
default() {
|
||||
|
|
Loading…
Add table
Reference in a new issue