Fix randstr that just broke somehow

Signed-off-by: Aleksandar 'The Cobra' Widulski <thecobra@riseup.net>
This commit is contained in:
Aleksandar 'The Cobra' Widulski 2022-05-10 03:30:06 -04:00
parent ad4905c8a0
commit 3fa1ef8d1b
No known key found for this signature in database
GPG Key ID: C8F7E7CA91BCBA64
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ complete -cf boas
# Random string (passwords)
randstr() {
tr -cd [:graph:] </dev/urandom | head -c ${1:-256}
tr -cd '[:graph:]' </dev/urandom | head -c ${1:-256}
}
# Get CPU usage